Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.143/2.143, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 185.4 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 98.39 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004603, allocations: 13.25 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.4375, allocations: 135 MB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/0.438, allocations: 95.92 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.4579, allocations: 4.718 MB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.458, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.372e-05/0.458, allocations: 8.656 kB / 1.035 GB, free: 5.883 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.001184/0.4592, allocations: 0.5589 MB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4593, allocations: 8.031 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4594, allocations: 31.62 kB / 1.036 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.4598, allocations: 268.5 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.4599, allocations: 28.66 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.46, allocations: 28 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.461, allocations: 344.8 kB / 1.037 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.461, allocations: 0 / 1.037 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.4611, allocations: 15.95 kB / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4611, allocations: 4 kB / 1.037 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.4621, allocations: 258.1 kB / 1.037 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.4643, allocations: 0.9631 MB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.4654, allocations: 273.5 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.4655, allocations: 7.938 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005771/0.466, allocations: 183.3 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.496e-06/0.4661, allocations: 0 / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32): time 0.00139/0.4675, allocations: 370.6 kB / 1.039 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4675, allocations: 55.41 kB / 1.039 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4678, allocations: 194.3 kB / 1.039 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.4679, allocations: 41.64 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.468, allocations: 148.6 kB / 1.039 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4681, allocations: 82.89 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.4682, allocations: 12 kB / 1.039 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4683, allocations: 332.6 kB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.4688, allocations: 116.8 kB / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.4693, allocations: 169.4 kB / 1.04 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.4698, allocations: 133.7 kB / 1.04 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4698, allocations: 0 / 1.04 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001147/0.471, allocations: 382.6 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.4711, allocations: 34.95 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4711, allocations: 0 / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.4711, allocations: 7.938 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.4715, allocations: 55.8 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.4715, allocations: 8.141 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.4719, allocations: 51.8 kB / 1.04 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.472, allocations: 16 kB / 1.04 GB, free: 0.5078 MB / 0.6823 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.0002791/0.4723, allocations: 177.8 kB / 1.041 GB, free: 332 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.4724, allocations: 15.81 kB / 1.041 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4734, allocations: 307.1 kB / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4734, allocations: 4 kB / 1.041 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4735, allocations: 4.188 kB / 1.041 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-05/0.4735, allocations: 8.188 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.4753, allocations: 0.744 MB / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4753, allocations: 0 / 1.042 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.4756, allocations: 35.97 kB / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.4756, allocations: 0 / 1.042 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.4756, allocations: 11.95 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.4757, allocations: 3.938 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4757, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.4766, allocations: 388.7 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.4767, allocations: 96.86 kB / 1.042 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.4768, allocations: 7.984 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.4772, allocations: 43.92 kB / 1.042 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.4774, allocations: 39.94 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.4774, allocations: 15.98 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001471/0.4776, allocations: 127.2 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4776, allocations: 0 / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004702/0.4781, allocations: 59.91 kB / 1.042 GB, free: 14.34 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.0002263/0.4783, allocations: 129.4 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.4794, allocations: 339.5 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4794, allocations: 8.062 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.4799, allocations: 140.9 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4803, allocations: 28.11 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4816, allocations: 0.5087 MB / 1.044 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.4821, allocations: 0.7759 MB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.4823, allocations: 34.27 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.4824, allocations: 27.42 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.4824, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of Templates: time 0.009414/0.4919, allocations: 2.659 MB / 1.047 GB, free: 9.645 MB / 0.698 GB