Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.2 kB / 16.36 MB, free: 6.309 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.001664/0.001664, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001466/0.001466, allocations: 63.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2687, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.7259/0.9946, allocations: 277.3 MB / 1.056 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04477/1.039, allocations: 28.26 MB / 1.083 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00715/1.047, allocations: 143.1 kB / 1.083 GB, free: 8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008094/1.055, allocations: 2.379 MB / 1.086 GB, free: 5.617 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01552/1.07, allocations: 5.17 MB / 1.091 GB, free: 444 kB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function 'Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01572/1.086, allocations: 5.503 MB / 1.096 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01458/1.101, allocations: 9.218 MB / 1.105 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007526/1.108, allocations: 3.279 MB / 1.108 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/1.119, allocations: 4.1 MB / 1.112 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005518/1.124, allocations: 2.779 MB / 1.115 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/1.126, allocations: 364 kB / 1.115 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009464/1.135, allocations: 4.105 MB / 1.119 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00201/1.137, allocations: 1.098 MB / 1.12 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003769/1.141, allocations: 2.118 MB / 1.122 GB, free: 15.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/1.154, allocations: 7.042 MB / 1.129 GB, free: 8.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.154, allocations: 4 kB / 1.129 GB, free: 8.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.964e-06/1.154, allocations: 0 / 1.129 GB, free: 8.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001604/1.154, allocations: 0 / 1.129 GB, free: 8.75 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01262/1.167, allocations: 4.709 MB / 1.134 GB, free: 3.949 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/1.167, allocations: 8.75 kB / 1.134 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00922/1.176, allocations: 1.407 MB / 1.135 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3815/1.558, allocations: 3.194 MB / 1.138 GB, free: 305 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/1.558, allocations: 262.8 kB / 1.139 GB, free: 304.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/1.559, allocations: 240.8 kB / 1.139 GB, free: 304.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/1.564, allocations: 3.061 MB / 1.142 GB, free: 304.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/1.564, allocations: 1.969 kB / 1.142 GB, free: 304.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/1.565, allocations: 93.91 kB / 1.142 GB, free: 304.6 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/1.565, allocations: 90.92 kB / 1.142 GB, free: 304.6 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006915/1.572, allocations: 2.933 MB / 1.145 GB, free: 304.2 MB / 0.92 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.02203/1.594, allocations: 13.27 MB / 1.158 GB, free: 296 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/1.6, allocations: 2.714 MB / 1.161 GB, free: 294.7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/1.603, allocations: 1.136 MB / 1.162 GB, free: 294.4 MB / 0.92 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.009821/1.613, allocations: 5.111 MB / 1.167 GB, free: 290.9 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003632/1.617, allocations: 1.227 MB / 1.168 GB, free: 290.5 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002718/1.619, allocations: 274.7 kB / 1.168 GB, free: 290.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=149): time 9.689e-06/1.619, allocations: 1.719 kB / 1.168 GB, free: 290.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=149): time 0.01012/1.63, allocations: 3.042 MB / 1.171 GB, free: 289.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/1.63, allocations: 181.5 kB / 1.171 GB, free: 289.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005315/1.635, allocations: 3.26 MB / 1.174 GB, free: 288.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004108/1.635, allocations: 62.09 kB / 1.175 GB, free: 288 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/1.637, allocations: 1.582 MB / 1.176 GB, free: 286.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005457/1.637, allocations: 0.5059 MB / 1.177 GB, free: 286.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007205/1.638, allocations: 421.5 kB / 1.177 GB, free: 286.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.309e-05/1.638, allocations: 302.2 kB / 1.177 GB, free: 285.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/1.641, allocations: 1.038 MB / 1.178 GB, free: 285.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/1.644, allocations: 1.627 MB / 1.18 GB, free: 284.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005701/1.65, allocations: 2.419 MB / 1.182 GB, free: 283.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/1.65, allocations: 5 kB / 1.182 GB, free: 283.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.007975/1.658, allocations: 2.957 MB / 1.185 GB, free: 282.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.658, allocations: 10.53 kB / 1.185 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/1.658, allocations: 16.08 kB / 1.185 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.707e-05/1.658, allocations: 23.2 kB / 1.185 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/1.661, allocations: 0.5477 MB / 1.186 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-05/1.661, allocations: 35.7 kB / 1.186 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/1.664, allocations: 257.6 kB / 1.186 GB, free: 282.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/1.665, allocations: 103.8 kB / 1.186 GB, free: 282.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003873/1.668, allocations: 1.576 MB / 1.188 GB, free: 281.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003084/1.671, allocations: 1.58 MB / 1.189 GB, free: 280.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005259/1.677, allocations: 2.349 MB / 1.191 GB, free: 279.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.347e-05/1.677, allocations: 5.547 kB / 1.191 GB, free: 279.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=242) (initialization_lambda0): time 0.007664/1.684, allocations: 2.884 MB / 1.194 GB, free: 278.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.685, allocations: 9.594 kB / 1.194 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/1.685, allocations: 14.28 kB / 1.194 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.685, allocations: 23.44 kB / 1.194 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/1.687, allocations: 0.5385 MB / 1.195 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/1.687, allocations: 30.56 kB / 1.195 GB, free: 278.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.691, allocations: 253.6 kB / 1.195 GB, free: 278.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/1.691, allocations: 109.7 kB / 1.195 GB, free: 278.6 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 17 (triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition3,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009101/1.692, allocations: 308.2 kB / 1.196 GB, free: 278.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.693, allocations: 340.9 kB / 1.196 GB, free: 278.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/1.7, allocations: 2.629 MB / 1.198 GB, free: 277.2 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005091/1.705, allocations: 2.232 MB / 1.201 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.705, allocations: 3.938 kB / 1.201 GB, free: 276.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.707, allocations: 0.6151 MB / 1.201 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/1.708, allocations: 38 kB / 1.201 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.71, allocations: 202.7 kB / 1.201 GB, free: 275.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.71, allocations: 97.06 kB / 1.202 GB, free: 275.7 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006888/1.717, allocations: 2.478 MB / 1.204 GB, free: 274.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009146/1.726, allocations: 3.854 MB / 1.208 GB, free: 272.4 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002343/1.729, allocations: 1.037 MB / 1.209 GB, free: 271.9 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003424/1.732, allocations: 2.23 MB / 1.211 GB, free: 270.8 MB / 0.92 GB Notification: Performance of Backend: time 6.21e-07/1.732, allocations: 3.969 kB / 1.211 GB, free: 270.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.744, allocations: 4.42 MB / 1.215 GB, free: 269.1 MB / 0.92 GB Notification: Performance of SimCode: time 0.01469/1.759, allocations: 7.157 MB / 1.222 GB, free: 263.9 MB / 0.92 GB Notification: Performance of Templates: time 0.1035/1.862, allocations: 80.67 MB / 1.301 GB, free: 184.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)