Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002043/0.002043, allocations: 177.3 kB / 15.95 MB, free: 216 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.845/1.845, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.733/1.733, allocations: 251.9 MB / 0.51 GB, free: 4.812 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.0005898/0.0005901, allocations: 16 kB / 0.6241 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6308, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003324/0.6342, allocations: 1.695 MB / 0.7296 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.636, allocations: 0.7294 MB / 0.7303 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.6363, allocations: 4 kB / 0.7304 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.6365, allocations: 27.72 kB / 0.7304 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.6367, allocations: 35.88 kB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.6373, allocations: 103.9 kB / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.6379, allocations: 219.6 kB / 0.7307 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.6384, allocations: 194.3 kB / 0.7309 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.6386, allocations: 91.64 kB / 0.731 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.6388, allocations: 115.5 kB / 0.7311 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.6388, allocations: 15.94 kB / 0.7311 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.6389, allocations: 16 kB / 0.7311 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.639, allocations: 55.75 kB / 0.7312 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.6391, allocations: 73.58 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.6395, allocations: 309.2 kB / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6395, allocations: 0 / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.856e-06/0.6395, allocations: 0 / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6395, allocations: 0 / 0.7316 GB, free: 7.715 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001108/0.6406, allocations: 0.5444 MB / 0.7321 GB, free: 7.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.6407, allocations: 8.031 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.6408, allocations: 35.58 kB / 0.7321 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.6412, allocations: 266.5 kB / 0.7324 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.6413, allocations: 28.66 kB / 0.7324 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.6413, allocations: 28 kB / 0.7324 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.6421, allocations: 340.8 kB / 0.7328 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6421, allocations: 3.938 kB / 0.7328 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.6422, allocations: 12 kB / 0.7328 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.6422, allocations: 4 kB / 0.7328 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.6427, allocations: 262 kB / 0.733 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.6443, allocations: 0.963 MB / 0.734 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.6449, allocations: 277.3 kB / 0.7342 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.645, allocations: 4.5 kB / 0.7342 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004431/0.6454, allocations: 179.2 kB / 0.7344 GB, free: 4.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.6454, allocations: 0 / 0.7344 GB, free: 4.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0008561/0.6463, allocations: 374.6 kB / 0.7348 GB, free: 4.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.6464, allocations: 63.33 kB / 0.7348 GB, free: 4.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.6466, allocations: 203.2 kB / 0.735 GB, free: 3.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/0.6466, allocations: 45.69 kB / 0.7351 GB, free: 3.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6467, allocations: 152.5 kB / 0.7352 GB, free: 3.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/0.6468, allocations: 79 kB / 0.7353 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.6468, allocations: 12 kB / 0.7353 GB, free: 3.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.647, allocations: 334.8 kB / 0.7356 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.6472, allocations: 108.8 kB / 0.7357 GB, free: 3.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.6475, allocations: 173.5 kB / 0.7359 GB, free: 3.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.6478, allocations: 133.4 kB / 0.736 GB, free: 2.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6479, allocations: 0 / 0.736 GB, free: 2.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006867/0.6485, allocations: 378.8 kB / 0.7364 GB, free: 2.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.6486, allocations: 37.7 kB / 0.7364 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6486, allocations: 0 / 0.7364 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6486, allocations: 4.156 kB / 0.7364 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.6489, allocations: 47.91 kB / 0.7365 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6489, allocations: 4 kB / 0.7365 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.6491, allocations: 67.5 kB / 0.7365 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.6492, allocations: 16 kB / 0.7365 GB, free: 2.332 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0002135/0.6494, allocations: 173.7 kB / 0.7367 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.6494, allocations: 23.75 kB / 0.7367 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006575/0.6501, allocations: 310.3 kB / 0.737 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.6501, allocations: 4 kB / 0.737 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6501, allocations: 0 / 0.737 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.6502, allocations: 7.969 kB / 0.737 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.6513, allocations: 0.7647 MB / 0.7378 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6513, allocations: 0 / 0.7378 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.6515, allocations: 39.91 kB / 0.7378 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6515, allocations: 0 / 0.7378 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6515, allocations: 8 kB / 0.7378 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6515, allocations: 3.953 kB / 0.7378 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6515, allocations: 4 kB / 0.7378 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.6521, allocations: 379.3 kB / 0.7382 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.6522, allocations: 100.8 kB / 0.7383 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.6523, allocations: 15.98 kB / 0.7383 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.6525, allocations: 31.97 kB / 0.7383 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6526, allocations: 43.89 kB / 0.7384 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.6526, allocations: 15.98 kB / 0.7384 GB, free: 332 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001128/0.6528, allocations: 131.2 kB / 0.7385 GB, free: 200 kB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6528, allocations: 4 kB / 0.7385 GB, free: 196 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003324/0.6531, allocations: 63.84 kB / 0.7386 GB, free: 132 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002184/0.6533, allocations: 125.4 kB / 0.7387 GB, free: 16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006528/0.654, allocations: 340.3 kB / 0.739 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.654, allocations: 0 / 0.739 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.6543, allocations: 147.8 kB / 0.7392 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.6546, allocations: 32.36 kB / 0.7392 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/0.6555, allocations: 0.5076 MB / 0.7397 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.6559, allocations: 0.7681 MB / 0.7404 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.6561, allocations: 38.28 kB / 0.7405 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.6561, allocations: 27.42 kB / 0.7405 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.6562, allocations: 0 / 0.7405 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.006508/0.6627, allocations: 2.703 MB / 0.7432 GB, free: 11.41 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) Environment - environmentSimulation: