Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0148/0.0148, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001761/0.00176, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.849/1.849, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.135/2.135, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004598, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6346, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/0.8917, allocations: 127.9 MB / 0.8082 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.892, allocations: 99.92 kB / 0.8083 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.9102, allocations: 4.615 MB / 0.8128 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.143e-06/0.9102, allocations: 0 / 0.8128 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.9103, allocations: 8 kB / 0.8128 GB, free: 9.703 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001001/0.9113, allocations: 0.5478 MB / 0.8134 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.9113, allocations: 15.95 kB / 0.8134 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.9115, allocations: 39.58 kB / 0.8134 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.9119, allocations: 254.6 kB / 0.8136 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.9119, allocations: 24.56 kB / 0.8137 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.912, allocations: 39.98 kB / 0.8137 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.9129, allocations: 327.6 kB / 0.814 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.9129, allocations: 0 / 0.814 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.913, allocations: 8 kB / 0.814 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.913, allocations: 8 kB / 0.814 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008171/0.9138, allocations: 270.1 kB / 0.8143 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.9158, allocations: 0.9479 MB / 0.8152 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.9167, allocations: 275 kB / 0.8155 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.9167, allocations: 4 kB / 0.8155 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.9172, allocations: 191.1 kB / 0.8157 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.66e-06/0.9173, allocations: 4 kB / 0.8157 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.001134/0.9184, allocations: 361.3 kB / 0.816 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.9185, allocations: 59.39 kB / 0.8161 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.9187, allocations: 190.4 kB / 0.8163 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.9188, allocations: 37.7 kB / 0.8163 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.919, allocations: 148.6 kB / 0.8164 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9191, allocations: 82.89 kB / 0.8165 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.9191, allocations: 15.94 kB / 0.8165 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9193, allocations: 334.8 kB / 0.8168 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.9197, allocations: 116.8 kB / 0.817 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.9201, allocations: 165.5 kB / 0.8171 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.9205, allocations: 141.6 kB / 0.8172 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.671e-06/0.9205, allocations: 0 / 0.8172 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000999/0.9215, allocations: 374.8 kB / 0.8176 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.9216, allocations: 33.7 kB / 0.8176 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.516e-06/0.9216, allocations: 0 / 0.8176 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.9216, allocations: 4 kB / 0.8176 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.9219, allocations: 51.84 kB / 0.8177 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.764e-06/0.9219, allocations: 160 / 0.8177 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.9223, allocations: 51.86 kB / 0.8177 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.9223, allocations: 12 kB / 0.8178 GB, free: 4.363 MB / 0.6355 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.0002829/0.9226, allocations: 189.6 kB / 0.8179 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.9227, allocations: 19.72 kB / 0.818 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/0.9236, allocations: 303.2 kB / 0.8182 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.9236, allocations: 7.938 kB / 0.8182 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-06/0.9236, allocations: 4 kB / 0.8183 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-06/0.9237, allocations: 3.984 kB / 0.8183 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.9252, allocations: 0.7531 MB / 0.819 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9253, allocations: 4 kB / 0.819 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.9255, allocations: 27.97 kB / 0.819 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.9255, allocations: 4 kB / 0.819 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.9255, allocations: 4 kB / 0.819 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.9255, allocations: 4 kB / 0.819 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.865e-06/0.9256, allocations: 0 / 0.819 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.9264, allocations: 387.3 kB / 0.8194 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.208e-05/0.9265, allocations: 96.77 kB / 0.8195 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.9265, allocations: 15.98 kB / 0.8195 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.9268, allocations: 35.97 kB / 0.8195 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.927, allocations: 43.94 kB / 0.8196 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.927, allocations: 4 kB / 0.8196 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001509/0.9272, allocations: 135.2 kB / 0.8197 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-07/0.9272, allocations: 0 / 0.8197 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004909/0.9277, allocations: 60 kB / 0.8198 GB, free: 2.188 MB / 0.6355 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.0002083/0.9279, allocations: 129.4 kB / 0.8199 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008786/0.9288, allocations: 341.2 kB / 0.8202 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.154e-06/0.9289, allocations: 8.062 kB / 0.8202 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.9293, allocations: 147.8 kB / 0.8204 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.9296, allocations: 28.16 kB / 0.8204 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.9308, allocations: 0.5081 MB / 0.8209 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.9313, allocations: 0.7642 MB / 0.8216 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.9315, allocations: 30.28 kB / 0.8217 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.9316, allocations: 31.42 kB / 0.8217 GB, free: 140 kB / 0.6355 GB Notification: Performance of SimCode: time 1.682e-06/0.9316, allocations: 4 kB / 0.8217 GB, free: 136 kB / 0.6355 GB Notification: Performance of Templates: time 0.008808/0.9404, allocations: 2.671 MB / 0.8243 GB, free: 13.48 MB / 0.6511 GB