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.625/1.625, allocations: 285.4 MB / 298 MB, free: 6.02 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.001447/0.001447, allocations: 180.8 kB / 366.4 MB, free: 2.117 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.493/1.493, allocations: 205.1 MB / 0.6248 GB, free: 7.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00084/0.00084, allocations: 90.02 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.459e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.754, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.9704, allocations: 141.4 MB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.9708, allocations: 95.92 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.9841, allocations: 4.695 MB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9841, allocations: 0 / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.9842, allocations: 7.938 kB / 1.114 GB, free: 5.664 MB / 0.7136 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.0009626/0.9851, allocations: 0.5312 MB / 1.114 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.9852, allocations: 8.031 kB / 1.114 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.9853, allocations: 35.58 kB / 1.114 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.9858, allocations: 266.6 kB / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.9858, allocations: 28.78 kB / 1.115 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.9859, allocations: 34.69 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.9865, allocations: 318.5 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.9866, allocations: 3.938 kB / 1.115 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.476e-05/0.9866, allocations: 14.91 kB / 1.115 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.9866, allocations: 8 kB / 1.115 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.9871, allocations: 222.2 kB / 1.115 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.9887, allocations: 0.9399 MB / 1.116 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.9892, allocations: 235 kB / 1.116 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.9894, allocations: 105.5 kB / 1.116 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.9894, allocations: 4 kB / 1.116 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.9897, allocations: 172 kB / 1.116 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.9898, allocations: 0 / 1.116 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0004843/0.9902, allocations: 221.4 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.9903, allocations: 67.36 kB / 1.117 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.9905, allocations: 190.4 kB / 1.117 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.9906, allocations: 37.7 kB / 1.117 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9907, allocations: 152.5 kB / 1.117 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.9908, allocations: 79.05 kB / 1.117 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.9908, allocations: 8 kB / 1.117 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9909, allocations: 334.8 kB / 1.118 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.9911, allocations: 88.88 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.9913, allocations: 153.5 kB / 1.118 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.9915, allocations: 109.7 kB / 1.118 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.9915, allocations: 0 / 1.118 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005513/0.9921, allocations: 338.6 kB / 1.118 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.9921, allocations: 33.7 kB / 1.118 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.9922, allocations: 0 / 1.118 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9922, allocations: 7.938 kB / 1.118 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.9924, allocations: 47.91 kB / 1.118 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.9924, allocations: 3.938 kB / 1.118 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.9927, allocations: 59.83 kB / 1.118 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.9928, allocations: 15.98 kB / 1.118 GB, free: 0.5938 MB / 0.7136 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 () * 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.000135/0.9929, allocations: 140.2 kB / 1.118 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.9929, allocations: 22.62 kB / 1.119 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.9934, allocations: 261.5 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9934, allocations: 4 kB / 1.119 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9935, allocations: 0 / 1.119 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9935, allocations: 3.984 kB / 1.119 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.9945, allocations: 0.7218 MB / 1.119 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9945, allocations: 4 kB / 1.119 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.9947, allocations: 35.92 kB / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.9947, allocations: 0 / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.9947, allocations: 15.94 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9947, allocations: 2.625 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9947, allocations: 2.266 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.9952, allocations: 335.1 kB / 1.12 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.9953, allocations: 100.9 kB / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.9953, allocations: 4 kB / 1.12 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.9956, allocations: 39.92 kB / 1.12 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.9957, allocations: 43.92 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.9957, allocations: 12 kB / 1.12 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001043/0.9958, allocations: 131.8 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9958, allocations: 0 / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003425/0.9962, allocations: 63.94 kB / 1.12 GB, free: 14.58 MB / 0.7292 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) * 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.0002182/0.9964, allocations: 138.1 kB / 1.12 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.9969, allocations: 291.2 kB / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9969, allocations: 320 / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.9971, allocations: 127.9 kB / 1.121 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.9974, allocations: 26.61 kB / 1.121 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.9981, allocations: 325 kB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.9984, allocations: 0.772 MB / 1.122 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.9985, allocations: 30.06 kB / 1.122 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.9986, allocations: 23.44 kB / 1.122 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9986, allocations: 0 / 1.122 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.006642/1.005, allocations: 2.67 MB / 1.125 GB, free: 10.21 MB / 0.7292 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)