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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009776/0.0009775, allocations: 174.5 kB / 327.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 0.5785 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000691/0.000691, allocations: 85.98 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 17.27 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.341, allocations: 135.2 MB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3413, allocations: 99.92 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0114/0.3527, allocations: 4.721 MB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3527, allocations: 0 / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.3528, allocations: 15.94 kB / 1.038 GB, free: 3.457 MB / 0.6823 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.0008559/0.3536, allocations: 0.5537 MB / 1.039 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3537, allocations: 11.97 kB / 1.039 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.3538, allocations: 32.56 kB / 1.039 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.3541, allocations: 273.6 kB / 1.039 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.3542, allocations: 33.02 kB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3543, allocations: 28.38 kB / 1.039 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.3549, allocations: 341.1 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3549, allocations: 0 / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.355, allocations: 15.98 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.355, allocations: 12 kB / 1.039 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.3556, allocations: 254.1 kB / 1.039 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3571, allocations: 0.963 MB / 1.04 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3577, allocations: 275.9 kB / 1.041 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.358, allocations: 124.8 kB / 1.041 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.358, allocations: 4 kB / 1.041 GB, free: 396 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.3584, allocations: 175.3 kB / 1.041 GB, free: 208 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.3584, allocations: 4 kB / 1.041 GB, free: 204 kB / 0.6823 GB Notification: Performance of matching and sorting (n=32): time 0.0008272/0.3592, allocations: 370.6 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3593, allocations: 59.34 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3595, allocations: 203.3 kB / 1.042 GB, free: 15.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.3595, allocations: 45.7 kB / 1.042 GB, free: 15.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.3596, allocations: 156.5 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.3597, allocations: 82.92 kB / 1.042 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.3597, allocations: 8 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3599, allocations: 334.8 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.3601, allocations: 108.8 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.3604, allocations: 177.4 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.3608, allocations: 270.5 kB / 1.043 GB, free: 14.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3609, allocations: 0 / 1.043 GB, free: 14.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000654/0.3615, allocations: 382.7 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.3616, allocations: 33.7 kB / 1.043 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3616, allocations: 4 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3616, allocations: 4 kB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3618, allocations: 52 kB / 1.043 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3618, allocations: 4 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.3621, allocations: 47.81 kB / 1.043 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.3621, allocations: 15.98 kB / 1.043 GB, free: 13.78 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.0001973/0.3623, allocations: 178 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3624, allocations: 19.8 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.363, allocations: 307.2 kB / 1.044 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.363, allocations: 4 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.363, allocations: 0 / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.363, allocations: 0 / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3641, allocations: 0.7609 MB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3641, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3642, allocations: 35.91 kB / 1.045 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3642, allocations: 0 / 1.045 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3642, allocations: 4 kB / 1.045 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3643, allocations: 7.938 kB / 1.045 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3643, allocations: 0 / 1.045 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.3648, allocations: 387.3 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3649, allocations: 100.8 kB / 1.045 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.3649, allocations: 4 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3651, allocations: 47.89 kB / 1.045 GB, free: 11.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3652, allocations: 39.94 kB / 1.045 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3653, allocations: 12 kB / 1.045 GB, free: 11.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.3654, allocations: 123.2 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3654, allocations: 0 / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003124/0.3657, allocations: 64 kB / 1.045 GB, free: 11.61 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.0001691/0.3659, allocations: 133.3 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006147/0.3665, allocations: 345.3 kB / 1.046 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3665, allocations: 0 / 1.046 GB, free: 11.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.3668, allocations: 143.8 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3672, allocations: 27.98 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.368, allocations: 0.5239 MB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3683, allocations: 0.7642 MB / 1.047 GB, free: 9.617 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.3685, allocations: 30.28 kB / 1.047 GB, free: 9.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.3685, allocations: 23.44 kB / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of SimCode: time 1.9e-07/0.3685, allocations: 0 / 1.047 GB, free: 9.566 MB / 0.698 GB Notification: Performance of Templates: time 0.006842/0.3754, allocations: 2.689 MB / 1.05 GB, free: 6.902 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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)