Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.644/4.644, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002787/0.002786, allocations: 364.8 kB / 0.6446 GB, free: 21.45 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.453/4.453, allocations: 410.8 MB / 1.113 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001875/0.001875, allocations: 182 kB / 1.226 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006706/0.0006709, allocations: 11.16 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2201, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.452, allocations: 141.3 MB / 1.599 GB, free: 79.21 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/0.4524, allocations: 97.53 kB / 1.599 GB, free: 79.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.4707, allocations: 4.716 MB / 1.604 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4708, allocations: 0.625 kB / 1.604 GB, free: 74.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.4708, allocations: 5.344 kB / 1.604 GB, free: 74.41 MB / 0.8073 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.001064/0.4719, allocations: 0.5568 MB / 1.605 GB, free: 73.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4719, allocations: 9.719 kB / 1.605 GB, free: 73.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.472, allocations: 31.62 kB / 1.605 GB, free: 73.76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.4724, allocations: 259.5 kB / 1.605 GB, free: 73.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.4725, allocations: 36.58 kB / 1.605 GB, free: 73.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.4725, allocations: 28 kB / 1.605 GB, free: 73.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/0.4735, allocations: 339 kB / 1.605 GB, free: 73.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4735, allocations: 1.188 kB / 1.605 GB, free: 73.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.4736, allocations: 15.98 kB / 1.605 GB, free: 73.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4736, allocations: 11.95 kB / 1.605 GB, free: 73.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.4745, allocations: 260.4 kB / 1.606 GB, free: 72.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.4765, allocations: 0.9474 MB / 1.606 GB, free: 71.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/0.4775, allocations: 280.3 kB / 1.607 GB, free: 71.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.4779, allocations: 128.4 kB / 1.607 GB, free: 71.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.478, allocations: 4 kB / 1.607 GB, free: 71.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.4785, allocations: 184.1 kB / 1.607 GB, free: 71.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 3.547e-06/0.4785, allocations: 11.92 kB / 1.607 GB, free: 71.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32): time 0.001246/0.4798, allocations: 372.9 kB / 1.607 GB, free: 70.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.4798, allocations: 55.41 kB / 1.607 GB, free: 70.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.4801, allocations: 201.1 kB / 1.608 GB, free: 70.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.4801, allocations: 38.36 kB / 1.608 GB, free: 70.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.4803, allocations: 161.1 kB / 1.608 GB, free: 70.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.4803, allocations: 82.97 kB / 1.608 GB, free: 70.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.4804, allocations: 11.44 kB / 1.608 GB, free: 70.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.4805, allocations: 330.8 kB / 1.608 GB, free: 69.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4809, allocations: 108.8 kB / 1.608 GB, free: 69.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.4813, allocations: 175.7 kB / 1.609 GB, free: 69.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.4817, allocations: 133.8 kB / 1.609 GB, free: 69.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4818, allocations: 0 / 1.609 GB, free: 69.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001043/0.4828, allocations: 377.3 kB / 1.609 GB, free: 69.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.4829, allocations: 30.86 kB / 1.609 GB, free: 69.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4829, allocations: 7.984 kB / 1.609 GB, free: 69.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.4829, allocations: 4 kB / 1.609 GB, free: 69.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4833, allocations: 53.08 kB / 1.609 GB, free: 69.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4833, allocations: 4 kB / 1.609 GB, free: 69.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.4837, allocations: 47.38 kB / 1.609 GB, free: 68.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.4838, allocations: 16 kB / 1.609 GB, free: 68.95 MB / 0.8073 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.0002473/0.4841, allocations: 174.5 kB / 1.609 GB, free: 68.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.4841, allocations: 21.12 kB / 1.609 GB, free: 68.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009404/0.4851, allocations: 307.9 kB / 1.61 GB, free: 68.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4851, allocations: 4 kB / 1.61 GB, free: 68.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4851, allocations: 3.953 kB / 1.61 GB, free: 68.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4852, allocations: 3.984 kB / 1.61 GB, free: 68.44 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.4868, allocations: 0.7634 MB / 1.61 GB, free: 67.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4868, allocations: 0.5 kB / 1.61 GB, free: 67.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.4871, allocations: 38.11 kB / 1.61 GB, free: 67.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4871, allocations: 3.953 kB / 1.61 GB, free: 67.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4872, allocations: 7.984 kB / 1.61 GB, free: 67.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.4872, allocations: 4 kB / 1.61 GB, free: 67.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4872, allocations: 7.922 kB / 1.61 GB, free: 67.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.4881, allocations: 370.7 kB / 1.611 GB, free: 67.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.4881, allocations: 96.81 kB / 1.611 GB, free: 67.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.4882, allocations: 17.05 kB / 1.611 GB, free: 67.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.4886, allocations: 33.44 kB / 1.611 GB, free: 67.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4888, allocations: 49.98 kB / 1.611 GB, free: 66.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.4888, allocations: 8 kB / 1.611 GB, free: 66.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001264/0.489, allocations: 133.2 kB / 1.611 GB, free: 66.85 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.41e-07/0.489, allocations: 0 / 1.611 GB, free: 66.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00046/0.4895, allocations: 67.92 kB / 1.611 GB, free: 66.79 MB / 0.8073 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.000203/0.4897, allocations: 126.7 kB / 1.611 GB, free: 66.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000988/0.4907, allocations: 338.5 kB / 1.612 GB, free: 66.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4907, allocations: 4 kB / 1.612 GB, free: 66.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.4911, allocations: 141.7 kB / 1.612 GB, free: 66.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4917, allocations: 28.17 kB / 1.612 GB, free: 66.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4929, allocations: 0.5249 MB / 1.612 GB, free: 65.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.4931, allocations: 0.7655 MB / 1.613 GB, free: 64.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.4933, allocations: 29.22 kB / 1.613 GB, free: 64.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4935, allocations: 23.44 kB / 1.613 GB, free: 64.77 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.4935, allocations: 5.656 kB / 1.613 GB, free: 64.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.008707/0.5022, allocations: 2.673 MB / 1.616 GB, free: 62.18 MB / 0.8073 GB