Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 304.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 190.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 0.6316 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008353/0.0008354, allocations: 94.23 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 18.94 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1694, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl): time 0.6198/0.7892, allocations: 253.5 MB / 1.228 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0365/0.8258, allocations: 26.58 MB / 1.254 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/0.8308, allocations: 123.2 kB / 1.254 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.005524/0.8363, allocations: 1.772 MB / 1.256 GB, free: 496 kB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.8482, allocations: 4.362 MB / 1.26 GB, free: 12.11 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.01139/0.8597, allocations: 4.168 MB / 1.264 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.8722, allocations: 10.26 MB / 1.274 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005472/0.8777, allocations: 2.671 MB / 1.277 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00704/0.8848, allocations: 3.372 MB / 1.28 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.8892, allocations: 2.54 MB / 1.283 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0009264/0.8902, allocations: 144 kB / 1.283 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/0.898, allocations: 3.975 MB / 1.287 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.8994, allocations: 0.8364 MB / 1.288 GB, free: 64 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.9019, allocations: 1.797 MB / 1.289 GB, free: 14.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.9083, allocations: 5.214 MB / 1.295 GB, free: 9.023 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.9083, allocations: 0 / 1.295 GB, free: 9.023 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9083, allocations: 0 / 1.295 GB, free: 9.023 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.053e-05/0.9084, allocations: 4 kB / 1.295 GB, free: 9.02 MB / 0.823 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.007184/0.9156, allocations: 3.966 MB / 1.298 GB, free: 4.961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.9157, allocations: 8.031 kB / 1.298 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00794/0.9236, allocations: 1.494 MB / 1.3 GB, free: 3.453 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.9293, allocations: 3.144 MB / 1.303 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007647/0.9301, allocations: 388.2 kB / 1.303 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/0.9305, allocations: 243.9 kB / 1.304 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006076/0.9366, allocations: 3.115 MB / 1.307 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.9366, allocations: 7.938 kB / 1.307 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.9369, allocations: 92 kB / 1.307 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-05/0.9369, allocations: 84.27 kB / 1.307 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007136/0.9441, allocations: 3.05 MB / 1.31 GB, free: 9.102 MB / 0.8386 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.02116/0.9653, allocations: 13.43 MB / 1.323 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/0.9712, allocations: 2.862 MB / 1.326 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.9741, allocations: 1.188 MB / 1.327 GB, free: 6.73 MB / 0.8542 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.01221/0.9863, allocations: 5.211 MB / 1.332 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004649/0.991, allocations: 1.282 MB / 1.333 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002917/0.9939, allocations: 0.5954 MB / 1.334 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 7.144e-06/0.9939, allocations: 0 / 1.334 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=150): time 0.01215/1.006, allocations: 3.028 MB / 1.337 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.006, allocations: 209.2 kB / 1.337 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006967/1.013, allocations: 3.25 MB / 1.34 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/1.014, allocations: 61.7 kB / 1.34 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001946/1.016, allocations: 1.58 MB / 1.342 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007412/1.016, allocations: 0.5083 MB / 1.342 GB, free: 6.527 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.017, allocations: 36 kB / 1.342 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.017, allocations: 381.8 kB / 1.343 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00401/1.021, allocations: 1.019 MB / 1.344 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/1.025, allocations: 1.639 MB / 1.345 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/1.032, allocations: 2.406 MB / 1.348 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.032, allocations: 4 kB / 1.348 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01082/1.043, allocations: 2.942 MB / 1.35 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004215/1.043, allocations: 0.4913 MB / 1.351 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.044, allocations: 16 kB / 1.351 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.883e-05/1.044, allocations: 24 kB / 1.351 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/1.047, allocations: 0.5539 MB / 1.351 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-05/1.047, allocations: 39.8 kB / 1.352 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004661/1.052, allocations: 370.1 kB / 1.352 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/1.052, allocations: 99.95 kB / 1.352 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.052, allocations: 4 kB / 1.352 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008344/1.061, allocations: 2.526 MB / 1.354 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/1.061, allocations: 16 kB / 1.354 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/1.061, allocations: 23.98 kB / 1.354 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.064, allocations: 0.535 MB / 1.355 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.354e-05/1.064, allocations: 27.92 kB / 1.355 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/1.068, allocations: 332.2 kB / 1.355 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/1.069, allocations: 95.95 kB / 1.355 GB, free: 8.332 MB / 0.8855 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.00228/1.071, allocations: 0.7872 MB / 1.356 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008664/1.072, allocations: 339.7 kB / 1.357 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/1.081, allocations: 2.625 MB / 1.359 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007595/1.089, allocations: 2.248 MB / 1.361 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.089, allocations: 4 kB / 1.361 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.091, allocations: 0.6643 MB / 1.362 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/1.092, allocations: 35.92 kB / 1.362 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/1.095, allocations: 295.6 kB / 1.362 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.095, allocations: 97.17 kB / 1.362 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00646/1.101, allocations: 2.503 MB / 1.365 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008/1.109, allocations: 3.867 MB / 1.369 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002274/1.112, allocations: 1.045 MB / 1.37 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003256/1.115, allocations: 2.217 MB / 1.372 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of Backend: time 5.61e-07/1.115, allocations: 0 / 1.372 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.125, allocations: 4.387 MB / 1.376 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of SimCode: time 0.01316/1.139, allocations: 8.239 MB / 1.384 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.4976/1.636, allocations: 78.32 MB / 1.461 GB, free: 330 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl.pipe 2>&1)