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.203/2.203, allocations: 253.2 MB / 260.6 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001536, allocations: 186.8 kB / 319.9 MB, free: 3.082 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.073/2.073, allocations: 205.6 MB / 0.5709 GB, free: 15.25 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.001177/0.001177, allocations: 99.42 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.286e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8599/1.067, allocations: 135.2 MB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/1.068, allocations: 93.19 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02011/1.088, allocations: 4.643 MB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/1.088, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.361e-05/1.088, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.6511 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.00114/1.089, allocations: 0.55 MB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.089, allocations: 12.02 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/1.089, allocations: 27.72 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/1.09, allocations: 262.1 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/1.09, allocations: 15.5 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/1.09, allocations: 20 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006447/1.091, allocations: 204.8 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/1.091, allocations: 273 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.091, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/1.091, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/1.091, allocations: 8 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/1.093, allocations: 0.8842 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/1.094, allocations: 216 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/1.094, allocations: 93.17 kB / 1.028 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/1.094, allocations: 8 kB / 1.028 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/1.095, allocations: 159.5 kB / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/1.095, allocations: 0 / 1.028 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006109/1.096, allocations: 204.6 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/1.096, allocations: 59.41 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/1.096, allocations: 160.9 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/1.096, allocations: 37.27 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.096, allocations: 154.7 kB / 1.029 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/1.096, allocations: 81.27 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/1.096, allocations: 0 / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.096, allocations: 333.4 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/1.097, allocations: 81.62 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/1.097, allocations: 131.4 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/1.097, allocations: 94.11 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.097, allocations: 0 / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000735/1.098, allocations: 266 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/1.098, allocations: 33.7 kB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.098, allocations: 3.984 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.098, allocations: 8.156 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/1.098, allocations: 51.47 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.098, allocations: 7.938 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/1.099, allocations: 43.81 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/1.099, allocations: 19 kB / 1.03 GB, free: 10.4 MB / 0.6511 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 () * 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.0001605/1.099, allocations: 136.6 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/1.099, allocations: 19.8 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/1.1, allocations: 238.5 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/1.1, allocations: 4 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.1, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.1, allocations: 7.953 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/1.101, allocations: 0.6404 MB / 1.031 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.101, allocations: 0 / 1.031 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.102, allocations: 31.97 kB / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.102, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/1.102, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/1.102, allocations: 11.95 kB / 1.031 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.102, allocations: 0 / 1.031 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/1.102, allocations: 322 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/1.102, allocations: 92.83 kB / 1.031 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/1.103, allocations: 4 kB / 1.031 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/1.103, allocations: 39.52 kB / 1.031 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.103, allocations: 43.02 kB / 1.031 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/1.103, allocations: 10.69 kB / 1.031 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001165/1.103, allocations: 115.1 kB / 1.031 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.103, allocations: 0 / 1.031 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005049/1.104, allocations: 47.94 kB / 1.031 GB, free: 8.836 MB / 0.6511 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) * 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.0002237/1.104, allocations: 123 kB / 1.031 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006315/1.105, allocations: 283.1 kB / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.105, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/1.105, allocations: 108.7 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/1.105, allocations: 26.11 kB / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/1.106, allocations: 317 kB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.107, allocations: 0.7606 MB / 1.033 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002118/1.107, allocations: 34.05 kB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.107, allocations: 30.86 kB / 1.033 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.107, allocations: 0 / 1.033 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of Templates: time 0.009287/1.116, allocations: 2.493 MB / 1.035 GB, free: 4.812 MB / 0.6511 GB