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.257/2.257, allocations: 252.6 MB / 265.2 MB, free: 5.66 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.001432/0.001432, allocations: 189.4 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.4 MB / 0.5754 GB, free: 10.39 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.001119/0.001118, allocations: 98.19 kB / 0.6797 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.571e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.3 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8202/1.018, allocations: 134.9 MB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.019, allocations: 97.05 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01924/1.038, allocations: 4.712 MB / 1.031 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/1.038, allocations: 0 / 1.031 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.186e-05/1.038, allocations: 4 kB / 1.031 GB, free: 11.51 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.001111/1.039, allocations: 0.5392 MB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.039, allocations: 8.031 kB / 1.032 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.039, allocations: 27.72 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/1.04, allocations: 272.1 kB / 1.032 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/1.04, allocations: 29.34 kB / 1.032 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/1.04, allocations: 26.56 kB / 1.032 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/1.041, allocations: 314.3 kB / 1.033 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.041, allocations: 4 kB / 1.033 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/1.041, allocations: 15.02 kB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.041, allocations: 8 kB / 1.033 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/1.042, allocations: 212.7 kB / 1.033 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/1.044, allocations: 0.9529 MB / 1.034 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/1.044, allocations: 240.1 kB / 1.034 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/1.045, allocations: 104 kB / 1.034 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/1.045, allocations: 4 kB / 1.034 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/1.045, allocations: 161.9 kB / 1.034 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.457e-06/1.045, allocations: 0 / 1.034 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006717/1.046, allocations: 234.2 kB / 1.034 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/1.046, allocations: 67.28 kB / 1.034 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/1.046, allocations: 185.1 kB / 1.035 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/1.046, allocations: 38.27 kB / 1.035 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/1.046, allocations: 150.2 kB / 1.035 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.047, allocations: 84.38 kB / 1.035 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.047, allocations: 9.562 kB / 1.035 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.047, allocations: 336.1 kB / 1.035 GB, free: 8.066 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/1.047, allocations: 88.88 kB / 1.035 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.047, allocations: 145.8 kB / 1.035 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/1.048, allocations: 118.7 kB / 1.036 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.048, allocations: 0 / 1.036 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007909/1.049, allocations: 337.3 kB / 1.036 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/1.049, allocations: 37.69 kB / 1.036 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.049, allocations: 0 / 1.036 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.049, allocations: 7.953 kB / 1.036 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/1.049, allocations: 47.28 kB / 1.036 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.049, allocations: 0 / 1.036 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/1.05, allocations: 55.25 kB / 1.036 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.05, allocations: 8 kB / 1.036 GB, free: 7.379 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.0001681/1.05, allocations: 147.2 kB / 1.036 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/1.05, allocations: 19.72 kB / 1.036 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/1.051, allocations: 265.7 kB / 1.036 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.051, allocations: 8 kB / 1.036 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.051, allocations: 3.953 kB / 1.036 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/1.051, allocations: 3.984 kB / 1.036 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/1.052, allocations: 0.7103 MB / 1.037 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.052, allocations: 0 / 1.037 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/1.052, allocations: 43.81 kB / 1.037 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.052, allocations: 0 / 1.037 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/1.052, allocations: 7.812 kB / 1.037 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.052, allocations: 0 / 1.037 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.052, allocations: 3.984 kB / 1.037 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/1.053, allocations: 334.4 kB / 1.038 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/1.053, allocations: 96.83 kB / 1.038 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/1.053, allocations: 15.81 kB / 1.038 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/1.054, allocations: 39.91 kB / 1.038 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.054, allocations: 45.5 kB / 1.038 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/1.054, allocations: 11.05 kB / 1.038 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001475/1.054, allocations: 131.5 kB / 1.038 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.6e-07/1.054, allocations: 0 / 1.038 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004755/1.055, allocations: 65.38 kB / 1.038 GB, free: 5.691 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.0002704/1.055, allocations: 124.9 kB / 1.038 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007151/1.056, allocations: 302.6 kB / 1.038 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.056, allocations: 0 / 1.038 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.056, allocations: 118 kB / 1.038 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/1.056, allocations: 27.73 kB / 1.038 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/1.057, allocations: 323.6 kB / 1.039 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/1.058, allocations: 0.7642 MB / 1.04 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002026/1.058, allocations: 26.06 kB / 1.04 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/1.058, allocations: 31.42 kB / 1.04 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of SimCode: time 3.677e-06/1.058, allocations: 0 / 1.04 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of Templates: time 0.009908/1.068, allocations: 2.684 MB / 1.042 GB, free: 1.453 MB / 0.6511 GB