Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.09/2.09, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 174.4 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5772 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009196/0.0009193, allocations: 91.61 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006625/0.0006627, allocations: 14.22 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2055, allocations: 106.3 MB / 0.8995 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 1.042/1.247, allocations: 253.7 MB / 1.147 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.05282/1.3, allocations: 26.61 MB / 1.173 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006732/1.307, allocations: 125.5 kB / 1.173 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.008425/1.316, allocations: 1.673 MB / 1.175 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01827/1.334, allocations: 4.056 MB / 1.179 GB, free: 12.82 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01874/1.353, allocations: 3.947 MB / 1.183 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0242/1.377, allocations: 10.25 MB / 1.193 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007038/1.384, allocations: 2.589 MB / 1.195 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/1.395, allocations: 3.194 MB / 1.198 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00727/1.402, allocations: 2.571 MB / 1.201 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/1.404, allocations: 144 kB / 1.201 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/1.415, allocations: 2.588 MB / 1.204 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002419/1.418, allocations: 0.8403 MB / 1.204 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/1.42, allocations: 0.7692 MB / 1.205 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/1.432, allocations: 5 MB / 1.21 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.432, allocations: 0 / 1.21 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.815e-06/1.432, allocations: 4 kB / 1.21 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002394/1.433, allocations: 4 kB / 1.21 GB, free: 6.543 MB / 0.7292 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.01451/1.447, allocations: 3.997 MB / 1.214 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/1.447, allocations: 12.03 kB / 1.214 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/1.464, allocations: 1.49 MB / 1.215 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/1.477, allocations: 3.013 MB / 1.218 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001702/1.479, allocations: 384.2 kB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009855/1.48, allocations: 255.9 kB / 1.219 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/1.493, allocations: 3.1 MB / 1.222 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/1.493, allocations: 4 kB / 1.222 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/1.494, allocations: 92 kB / 1.222 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/1.494, allocations: 88.25 kB / 1.222 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/1.51, allocations: 3.046 MB / 1.225 GB, free: 6.742 MB / 0.7448 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.04223/1.552, allocations: 13.42 MB / 1.238 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.565, allocations: 2.843 MB / 1.241 GB, free: 5.59 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006099/1.571, allocations: 1.186 MB / 1.242 GB, free: 4.406 MB / 0.7605 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.01724/1.589, allocations: 5.209 MB / 1.247 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006203/1.595, allocations: 1.266 MB / 1.249 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00374/1.599, allocations: 0.5954 MB / 1.249 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=150): time 1.137e-05/1.599, allocations: 0 / 1.249 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=150): time 0.01651/1.615, allocations: 3.032 MB / 1.252 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.616, allocations: 205.2 kB / 1.252 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008655/1.624, allocations: 3.25 MB / 1.255 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005252/1.625, allocations: 61.7 kB / 1.256 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002541/1.627, allocations: 1.58 MB / 1.257 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.628, allocations: 0.5122 MB / 1.258 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/1.629, allocations: 36 kB / 1.258 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000268/1.629, allocations: 381.8 kB / 1.258 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005644/1.635, allocations: 1.019 MB / 1.259 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006542/1.641, allocations: 1.639 MB / 1.261 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006082/1.647, allocations: 1.146 MB / 1.262 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/1.647, allocations: 4 kB / 1.262 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01489/1.662, allocations: 2.938 MB / 1.265 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005061/1.663, allocations: 0.4957 MB / 1.265 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.703e-05/1.663, allocations: 19.94 kB / 1.265 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.987e-05/1.663, allocations: 20 kB / 1.265 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/1.668, allocations: 0.5539 MB / 1.266 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-05/1.668, allocations: 27.92 kB / 1.266 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006446/1.675, allocations: 372.1 kB / 1.266 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006141/1.676, allocations: 99.89 kB / 1.266 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.676, allocations: 4 kB / 1.266 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01273/1.688, allocations: 2.534 MB / 1.269 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/1.688, allocations: 12 kB / 1.269 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.577e-05/1.689, allocations: 24 kB / 1.269 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00497/1.694, allocations: 0.5306 MB / 1.269 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.137e-05/1.694, allocations: 31.92 kB / 1.269 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/1.699, allocations: 340 kB / 1.269 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.7, allocations: 99.89 kB / 1.27 GB, free: 7.457 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition3,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition1,triAndRes.sam.sampleTrigger,$whenCondition2,triAndRes.uniDel1.sampleTrigger,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.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 (240): * Single equations (assignments): 237 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00289/1.703, allocations: 0.7794 MB / 1.27 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.704, allocations: 347.7 kB / 1.271 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.717, allocations: 2.61 MB / 1.273 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01059/1.728, allocations: 2.248 MB / 1.275 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.728, allocations: 4 kB / 1.275 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.731, allocations: 0.6646 MB / 1.276 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.732, allocations: 36 kB / 1.276 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005587/1.737, allocations: 288.4 kB / 1.276 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004507/1.738, allocations: 101.2 kB / 1.276 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01427/1.752, allocations: 2.511 MB / 1.279 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01753/1.77, allocations: 3.867 MB / 1.283 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00495/1.775, allocations: 1.041 MB / 1.284 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006689/1.782, allocations: 2.213 MB / 1.286 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of Backend: time 1.253e-06/1.782, allocations: 0 / 1.286 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02122/1.803, allocations: 4.331 MB / 1.29 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of SimCode: time 0.02682/1.83, allocations: 8.271 MB / 1.298 GB, free: 10.17 MB / 0.823 GB Notification: Performance of Templates: time 0.2202/2.05, allocations: 77.21 MB / 1.374 GB, free: 13.43 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)