Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 91.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009855, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.649/1.649, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006135/0.0006136, allocations: 12 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5402, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.8536/1.394, allocations: 259.7 MB / 0.9817 GB, free: 49.46 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07315/1.467, allocations: 50.19 MB / 1.031 GB, free: 27.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01371/1.481, allocations: 261.2 kB / 1.031 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009666/1.491, allocations: 1.99 MB / 1.033 GB, free: 25.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01923/1.51, allocations: 5.4 MB / 1.038 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01503/1.525, allocations: 5.017 MB / 1.043 GB, free: 17.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01962/1.544, allocations: 14.2 MB / 1.057 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007439/1.552, allocations: 3.514 MB / 1.06 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01264/1.565, allocations: 4.491 MB / 1.065 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008428/1.573, allocations: 3.574 MB / 1.068 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002005/1.575, allocations: 200 kB / 1.068 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/1.586, allocations: 2.195 MB / 1.071 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003015/1.589, allocations: 1.039 MB / 1.072 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003374/1.592, allocations: 1.042 MB / 1.073 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/1.603, allocations: 5.86 MB / 1.078 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.603, allocations: 0 / 1.078 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.255e-06/1.603, allocations: 0 / 1.078 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002735/1.604, allocations: 0 / 1.078 GB, free: 12.96 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 679 * Number of variables: 679 Notification: Performance of Generate backend data structure: time 0.01183/1.616, allocations: 5.153 MB / 1.083 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.616, allocations: 8.031 kB / 1.083 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/1.62, allocations: 0.9992 MB / 1.084 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.63, allocations: 3.825 MB / 1.088 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007519/1.631, allocations: 358.2 kB / 1.088 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007611/1.632, allocations: 300 kB / 1.089 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/1.638, allocations: 3.248 MB / 1.092 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.395e-05/1.638, allocations: 7.906 kB / 1.092 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003461/1.639, allocations: 116 kB / 1.092 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/1.639, allocations: 71.94 kB / 1.092 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006187/1.645, allocations: 2.698 MB / 1.095 GB, free: 11.87 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/1.673, allocations: 18.16 MB / 1.112 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/1.678, allocations: 1.952 MB / 1.114 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/1.68, allocations: 1.079 MB / 1.115 GB, free: 5.07 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.00876/1.689, allocations: 3.851 MB / 1.119 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/1.689, allocations: 55.86 kB / 1.119 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004046/1.693, allocations: 0.8336 MB / 1.12 GB, free: 140 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=142): time 1.153e-05/1.693, allocations: 0 / 1.12 GB, free: 140 kB / 0.7794 GB Notification: Performance of matching and sorting (n=147): time 0.02438/1.717, allocations: 7.64 MB / 1.127 GB, free: 8.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/1.717, allocations: 304 kB / 1.128 GB, free: 8.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006556/1.724, allocations: 4.01 MB / 1.132 GB, free: 4.012 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005711/1.725, allocations: 69.69 kB / 1.132 GB, free: 3.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.727, allocations: 2.209 MB / 1.134 GB, free: 1.715 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007494/1.727, allocations: 0.5083 MB / 1.134 GB, free: 1.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.728, allocations: 44 kB / 1.134 GB, free: 1.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.728, allocations: 394.3 kB / 1.135 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/1.73, allocations: 0.9685 MB / 1.136 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.733, allocations: 1.842 MB / 1.138 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/1.735, allocations: 1.169 MB / 1.139 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.735, allocations: 4 kB / 1.139 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0107/1.746, allocations: 3.72 MB / 1.142 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000563/1.746, allocations: 0.6589 MB / 1.143 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/1.746, allocations: 23.98 kB / 1.143 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/1.749, allocations: 0.6268 MB / 1.144 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.752, allocations: 0.5421 MB / 1.144 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/1.759, allocations: 5.293 MB / 1.149 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/1.763, allocations: 361.6 kB / 1.15 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005954/1.764, allocations: 131.8 kB / 1.15 GB, free: 456 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.764, allocations: 4 kB / 1.15 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008033/1.772, allocations: 3.122 MB / 1.153 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.649e-05/1.772, allocations: 23.98 kB / 1.153 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/1.775, allocations: 0.5919 MB / 1.153 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.777, allocations: 0.5109 MB / 1.154 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/1.786, allocations: 6.644 MB / 1.16 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.79, allocations: 324.8 kB / 1.161 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/1.791, allocations: 123.9 kB / 1.161 GB, free: 4.66 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 236 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.002496/1.793, allocations: 0.8752 MB / 1.162 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.795, allocations: 450.3 kB / 1.162 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007432/1.802, allocations: 3.021 MB / 1.165 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/1.802, allocations: 16 kB / 1.165 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.802, allocations: 4 kB / 1.165 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005216/1.807, allocations: 2.279 MB / 1.167 GB, free: 13.95 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.821, allocations: 5.916 MB / 1.173 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.821, allocations: 3.984 kB / 1.173 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/1.824, allocations: 367.5 kB / 1.173 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/1.826, allocations: 358.2 kB / 1.174 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.826, allocations: 51.97 kB / 1.174 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/1.831, allocations: 4.297 MB / 1.178 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.831, allocations: 0 / 1.178 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009308/1.84, allocations: 3.911 MB / 1.182 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.843, allocations: 0.7409 MB / 1.183 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008559/1.844, allocations: 40 kB / 1.183 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.846, allocations: 299.4 kB / 1.183 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/1.847, allocations: 117.8 kB / 1.183 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.847, allocations: 67.95 kB / 1.183 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004731/1.852, allocations: 2.647 MB / 1.186 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.852, allocations: 4 kB / 1.186 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008624/1.86, allocations: 1.965 MB / 1.188 GB, free: 8.789 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.x[1],val.filter.x[2],pumLoa.filter.x[1],pumLoa.filter.x[2],pumBoi.filter.x[1],pumBoi.filter.x[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/1.862, allocations: 0.7636 MB / 1.188 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.873, allocations: 4.843 MB / 1.193 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.873, allocations: 4 kB / 1.193 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003037/1.876, allocations: 1.422 MB / 1.194 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/1.887, allocations: 2.302 MB / 1.197 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.902, allocations: 8.867 MB / 1.205 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.904, allocations: 2.462 MB / 1.208 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00525/1.91, allocations: 0.9187 MB / 1.209 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.911, allocations: 347.3 kB / 1.209 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of SimCode: time 7.42e-07/1.911, allocations: 3.938 kB / 1.209 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of Templates: time 0.585/2.496, allocations: 83.7 MB / 1.291 GB, free: 339.8 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) Environment - environmentSimulation: