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.864/1.864, allocations: 288.3 MB / 303.2 MB, free: 8.277 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.001228/0.001228, allocations: 175.8 kB / 371.8 MB, free: 10.26 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.944/1.944, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.0009646/0.0009645, allocations: 93.11 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 10.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7972/1.024, allocations: 141.5 MB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.024, allocations: 93.16 kB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01168/1.036, allocations: 4.719 MB / 1.122 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/1.036, allocations: 0 / 1.122 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.036, allocations: 11.12 kB / 1.122 GB, free: 31.79 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.0008031/1.037, allocations: 0.5434 MB / 1.123 GB, free: 31.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.037, allocations: 15.64 kB / 1.123 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/1.037, allocations: 44.69 kB / 1.123 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/1.037, allocations: 266.8 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/1.037, allocations: 30.39 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/1.038, allocations: 29.09 kB / 1.123 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/1.038, allocations: 340.8 kB / 1.124 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.038, allocations: 0 / 1.124 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/1.038, allocations: 10.5 kB / 1.124 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.038, allocations: 7.688 kB / 1.124 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/1.039, allocations: 264.6 kB / 1.124 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/1.04, allocations: 0.9456 MB / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/1.041, allocations: 281.4 kB / 1.125 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/1.041, allocations: 3.812 kB / 1.125 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/1.041, allocations: 179.5 kB / 1.125 GB, free: 30.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/1.041, allocations: 3.875 kB / 1.125 GB, free: 30.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0007376/1.042, allocations: 365.1 kB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.042, allocations: 63.27 kB / 1.126 GB, free: 30.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/1.042, allocations: 187.3 kB / 1.126 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/1.042, allocations: 43.39 kB / 1.126 GB, free: 30.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/1.042, allocations: 145 kB / 1.126 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/1.042, allocations: 91.61 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/1.042, allocations: 7.531 kB / 1.126 GB, free: 30.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.042, allocations: 333.3 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/1.043, allocations: 113.7 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/1.043, allocations: 166.5 kB / 1.127 GB, free: 29.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.043, allocations: 135.4 kB / 1.127 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.043, allocations: 3.875 kB / 1.127 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006031/1.044, allocations: 375.7 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.044, allocations: 35.64 kB / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.044, allocations: 0 / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.044, allocations: 3.875 kB / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/1.044, allocations: 51.64 kB / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/1.044, allocations: 4.031 kB / 1.127 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/1.044, allocations: 55.5 kB / 1.127 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/1.044, allocations: 11.53 kB / 1.127 GB, free: 29.55 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.0001735/1.044, allocations: 179.5 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.044, allocations: 22.11 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/1.045, allocations: 309.8 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.045, allocations: 3.938 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.045, allocations: 4 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.045, allocations: 2.531 kB / 1.128 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.046, allocations: 0.7576 MB / 1.128 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.046, allocations: 3.875 kB / 1.128 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.046, allocations: 28.7 kB / 1.129 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.046, allocations: 6.688 kB / 1.129 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.046, allocations: 6.688 kB / 1.129 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.046, allocations: 7.797 kB / 1.129 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.046, allocations: 0 / 1.129 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/1.047, allocations: 375.9 kB / 1.129 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/1.047, allocations: 107.4 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/1.047, allocations: 6.75 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/1.047, allocations: 37.31 kB / 1.129 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.047, allocations: 51.17 kB / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/1.047, allocations: 3.812 kB / 1.129 GB, free: 28.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.879e-05/1.047, allocations: 138.4 kB / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.047, allocations: 0 / 1.129 GB, free: 28.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003031/1.048, allocations: 60.75 kB / 1.129 GB, free: 28.67 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.0001851/1.048, allocations: 122.5 kB / 1.129 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000565/1.048, allocations: 339.8 kB / 1.13 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.048, allocations: 4.125 kB / 1.13 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/1.049, allocations: 146 kB / 1.13 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.049, allocations: 31.09 kB / 1.13 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/1.05, allocations: 0.5124 MB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.05, allocations: 0.7646 MB / 1.131 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001173/1.05, allocations: 34.02 kB / 1.131 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/1.05, allocations: 28.8 kB / 1.131 GB, free: 27.47 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.05, allocations: 0 / 1.131 GB, free: 27.47 MB / 0.698 GB Notification: Performance of Templates: time 0.005395/1.056, allocations: 2.674 MB / 1.134 GB, free: 26.52 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)