Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.6 MB / 307.6 MB, free: 5.164 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.00144/0.00144, allocations: 181 kB / 377.1 MB, free: 1.516 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.98/1.98, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0008806/0.0008807, allocations: 92.58 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7593/1.075, allocations: 142.5 MB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.075, allocations: 94.84 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01119/1.087, allocations: 4.71 MB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.233e-06/1.087, allocations: 3.938 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.087, allocations: 8 kB / 1.132 GB, free: 29.66 MB / 0.7292 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.0007812/1.087, allocations: 0.5505 MB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.087, allocations: 8.031 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/1.088, allocations: 32.42 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/1.088, allocations: 273.7 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/1.088, allocations: 28.66 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/1.088, allocations: 29.55 kB / 1.133 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/1.089, allocations: 339.4 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.089, allocations: 0 / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/1.089, allocations: 17.39 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.089, allocations: 8.75 kB / 1.133 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/1.089, allocations: 256.5 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/1.091, allocations: 0.953 MB / 1.135 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/1.091, allocations: 273.4 kB / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/1.091, allocations: 8 kB / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/1.092, allocations: 183.7 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/1.092, allocations: 0 / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0008063/1.092, allocations: 365.8 kB / 1.135 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.092, allocations: 68.72 kB / 1.135 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.093, allocations: 183.1 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.093, allocations: 38.73 kB / 1.136 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/1.093, allocations: 156 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/1.093, allocations: 90.69 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/1.093, allocations: 8 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/1.093, allocations: 331 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.093, allocations: 116 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/1.093, allocations: 170.4 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/1.094, allocations: 131.8 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.094, allocations: 8 kB / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000603/1.094, allocations: 369.6 kB / 1.137 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.094, allocations: 35.84 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.094, allocations: 4.156 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.094, allocations: 4.875 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/1.095, allocations: 48.42 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.095, allocations: 8.797 kB / 1.137 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/1.095, allocations: 50.25 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/1.095, allocations: 20.66 kB / 1.137 GB, free: 24.9 MB / 0.7292 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.000148/1.095, allocations: 168.4 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/1.095, allocations: 24.33 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/1.096, allocations: 307 kB / 1.138 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.096, allocations: 0 / 1.138 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.096, allocations: 4.609 kB / 1.138 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.096, allocations: 5.203 kB / 1.138 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/1.097, allocations: 0.7577 MB / 1.138 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.097, allocations: 0 / 1.138 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/1.097, allocations: 35.03 kB / 1.138 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.097, allocations: 0 / 1.138 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.097, allocations: 13.69 kB / 1.138 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.097, allocations: 5.641 kB / 1.138 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.097, allocations: 0 / 1.138 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/1.097, allocations: 373.9 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/1.098, allocations: 110.1 kB / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/1.098, allocations: 8.656 kB / 1.139 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.098, allocations: 33.61 kB / 1.139 GB, free: 23.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.098, allocations: 46.8 kB / 1.139 GB, free: 23.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/1.098, allocations: 13.92 kB / 1.139 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.769e-05/1.098, allocations: 137.6 kB / 1.139 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 1.139 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002925/1.098, allocations: 57.36 kB / 1.139 GB, free: 22.96 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) * 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.0001566/1.099, allocations: 124.4 kB / 1.139 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005895/1.099, allocations: 336.3 kB / 1.14 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.099, allocations: 0 / 1.14 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/1.099, allocations: 142.4 kB / 1.14 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.1, allocations: 30.72 kB / 1.14 GB, free: 22.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/1.1, allocations: 0.5152 MB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/1.101, allocations: 0.7683 MB / 1.141 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001272/1.101, allocations: 31 kB / 1.141 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/1.101, allocations: 25.22 kB / 1.141 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.101, allocations: 0.9375 kB / 1.141 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.006477/1.107, allocations: 2.671 MB / 1.144 GB, free: 19.59 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)