Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.77/1.77, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 188.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 94.19 kB / 0.7808 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005325/0.0005328, allocations: 12 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7936, allocations: 120.3 MB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/1.01, allocations: 144.6 MB / 1.168 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.011, allocations: 94.62 kB / 1.168 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01276/1.024, allocations: 4.737 MB / 1.172 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.166e-06/1.024, allocations: 4 kB / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.061e-05/1.024, allocations: 12 kB / 1.172 GB, free: 8.773 MB / 0.7448 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.001075/1.025, allocations: 0.5481 MB / 1.173 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.025, allocations: 8.031 kB / 1.173 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/1.025, allocations: 32.66 kB / 1.173 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/1.025, allocations: 269.1 kB / 1.173 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/1.025, allocations: 29.03 kB / 1.173 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/1.025, allocations: 32.38 kB / 1.173 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/1.026, allocations: 341.2 kB / 1.173 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.026, allocations: 0 / 1.173 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/1.026, allocations: 8 kB / 1.174 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.026, allocations: 12 kB / 1.174 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/1.027, allocations: 263.2 kB / 1.174 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/1.028, allocations: 0.9634 MB / 1.175 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/1.029, allocations: 281 kB / 1.175 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.029, allocations: 128.8 kB / 1.175 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/1.029, allocations: 4 kB / 1.175 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000378/1.03, allocations: 184.5 kB / 1.175 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/1.03, allocations: 0 / 1.175 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.000828/1.031, allocations: 369.2 kB / 1.176 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/1.031, allocations: 59.41 kB / 1.176 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/1.031, allocations: 204.5 kB / 1.176 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/1.031, allocations: 45.69 kB / 1.176 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/1.031, allocations: 152.5 kB / 1.176 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/1.031, allocations: 78.97 kB / 1.176 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.031, allocations: 4 kB / 1.176 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.031, allocations: 342.8 kB / 1.176 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/1.032, allocations: 108.8 kB / 1.177 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/1.032, allocations: 173.5 kB / 1.177 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/1.032, allocations: 266.6 kB / 1.177 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.032, allocations: 0 / 1.177 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007177/1.033, allocations: 378.6 kB / 1.177 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.033, allocations: 37.69 kB / 1.177 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.033, allocations: 0 / 1.177 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.033, allocations: 4 kB / 1.177 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.034, allocations: 52.06 kB / 1.177 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.034, allocations: 4 kB / 1.177 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/1.034, allocations: 47.81 kB / 1.177 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/1.034, allocations: 12 kB / 1.178 GB, free: 3.125 MB / 0.7448 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.0002142/1.034, allocations: 178.8 kB / 1.178 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/1.034, allocations: 34.27 kB / 1.178 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/1.035, allocations: 300.1 kB / 1.178 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.035, allocations: 4 kB / 1.178 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/1.035, allocations: 3.984 kB / 1.178 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.035, allocations: 4 kB / 1.178 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/1.036, allocations: 0.7609 MB / 1.179 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.036, allocations: 0 / 1.179 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/1.036, allocations: 35.92 kB / 1.179 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.036, allocations: 0 / 1.179 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/1.036, allocations: 11.98 kB / 1.179 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.036, allocations: 7.938 kB / 1.179 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.036, allocations: 4 kB / 1.179 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/1.037, allocations: 375.1 kB / 1.179 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/1.037, allocations: 96.83 kB / 1.179 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/1.037, allocations: 8 kB / 1.179 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.037, allocations: 43.89 kB / 1.179 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.037, allocations: 43.88 kB / 1.179 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/1.037, allocations: 12 kB / 1.179 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001139/1.037, allocations: 135.7 kB / 1.179 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.037, allocations: 0 / 1.179 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003518/1.038, allocations: 67.98 kB / 1.18 GB, free: 0.9258 MB / 0.7448 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.0002082/1.038, allocations: 115.7 kB / 1.18 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006636/1.039, allocations: 347.3 kB / 1.18 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.039, allocations: 0 / 1.18 GB, free: 468 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/1.039, allocations: 139.8 kB / 1.18 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/1.039, allocations: 35.55 kB / 1.18 GB, free: 296 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/1.04, allocations: 0.5201 MB / 1.181 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/1.041, allocations: 0.7642 MB / 1.181 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001477/1.041, allocations: 30.28 kB / 1.181 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/1.041, allocations: 23.44 kB / 1.181 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/1.041, allocations: 3.938 kB / 1.181 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of Templates: time 0.006589/1.048, allocations: 2.682 MB / 1.184 GB, free: 12.29 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)