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.WSEControl.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.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009368/0.0009369, allocations: 183.1 kB / 373 MB, free: 10.13 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.474/1.474, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0009325/0.0009327, allocations: 90.16 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004254, allocations: 11.69 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7274/0.959, allocations: 141.5 MB / 1.119 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.9594, allocations: 98.52 kB / 1.119 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.9712, allocations: 4.722 MB / 1.124 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9712, allocations: 0 / 1.124 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.9713, allocations: 3.875 kB / 1.124 GB, free: 31.89 MB / 0.698 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.0007804/0.9721, allocations: 0.5501 MB / 1.124 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.9721, allocations: 11.69 kB / 1.124 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.9722, allocations: 31.91 kB / 1.124 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.9725, allocations: 277.8 kB / 1.124 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.9725, allocations: 26.56 kB / 1.124 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.9726, allocations: 37.44 kB / 1.125 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.9731, allocations: 337.3 kB / 1.125 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.9732, allocations: 0 / 1.125 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.9732, allocations: 17.72 kB / 1.125 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.9732, allocations: 7.812 kB / 1.125 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.9737, allocations: 258.9 kB / 1.125 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.975, allocations: 0.9495 MB / 1.126 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.9756, allocations: 282.5 kB / 1.126 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.9758, allocations: 128.1 kB / 1.126 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.9758, allocations: 7.438 kB / 1.126 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003671/0.9762, allocations: 191 kB / 1.127 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.9762, allocations: 0 / 1.127 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0007679/0.977, allocations: 364.5 kB / 1.127 GB, free: 30.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.9771, allocations: 62.14 kB / 1.127 GB, free: 30.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.9773, allocations: 200.8 kB / 1.127 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.9773, allocations: 41.95 kB / 1.127 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.844e-05/0.9774, allocations: 151.1 kB / 1.127 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.9775, allocations: 85.5 kB / 1.127 GB, free: 30.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.9775, allocations: 9.219 kB / 1.128 GB, free: 30.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9777, allocations: 338.3 kB / 1.128 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.9779, allocations: 117.3 kB / 1.128 GB, free: 29.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.9782, allocations: 168.7 kB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.9786, allocations: 269.5 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9786, allocations: 3.875 kB / 1.128 GB, free: 29.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005914/0.9792, allocations: 369 kB / 1.129 GB, free: 29.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.9793, allocations: 39.94 kB / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9793, allocations: 0 / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9793, allocations: 3.875 kB / 1.129 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.9795, allocations: 42.94 kB / 1.129 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.9795, allocations: 7.812 kB / 1.129 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.9797, allocations: 50.86 kB / 1.129 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.9798, allocations: 18.38 kB / 1.129 GB, free: 29.58 MB / 0.698 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.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,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.0001587/0.98, allocations: 177.3 kB / 1.129 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.98, allocations: 19.47 kB / 1.129 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.9805, allocations: 303.5 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.9806, allocations: 3.812 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9806, allocations: 3.812 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9806, allocations: 2.859 kB / 1.129 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.9816, allocations: 0.7496 MB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9816, allocations: 6.469 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.9817, allocations: 36.39 kB / 1.13 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.9817, allocations: 3.875 kB / 1.13 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.9818, allocations: 3.375 kB / 1.13 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9818, allocations: 11.72 kB / 1.13 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9818, allocations: 4 kB / 1.13 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.9823, allocations: 382.1 kB / 1.131 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.9824, allocations: 102.9 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.9824, allocations: 3.125 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.9826, allocations: 43.94 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.9827, allocations: 46.66 kB / 1.131 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.9828, allocations: 10.25 kB / 1.131 GB, free: 28.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.9829, allocations: 135.6 kB / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9829, allocations: 0 / 1.131 GB, free: 28.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002896/0.9832, allocations: 61.16 kB / 1.131 GB, free: 28.7 MB / 0.698 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.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,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.0001846/0.9834, allocations: 127.5 kB / 1.131 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.9839, allocations: 339.3 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9839, allocations: 3.781 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.9842, allocations: 146.7 kB / 1.131 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.9845, allocations: 29.08 kB / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.9853, allocations: 0.5133 MB / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.9857, allocations: 0.7596 MB / 1.133 GB, free: 27.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.9858, allocations: 25.81 kB / 1.133 GB, free: 27.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.9859, allocations: 29.73 kB / 1.133 GB, free: 27.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9859, allocations: 3.938 kB / 1.133 GB, free: 27.5 MB / 0.698 GB Notification: Performance of Templates: time 0.005333/0.9912, allocations: 2.683 MB / 1.135 GB, free: 26.46 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)