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.004328/0.004328, allocations: 234 kB / 15.83 MB, free: 6.293 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.001217/0.001217, allocations: 176.8 kB / 16.71 MB, free: 5.441 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 4.056/4.056, allocations: 389.1 MB / 406.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.904/3.904, allocations: 472.3 MB / 0.9024 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005016, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1817, allocations: 98.71 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8607/1.042, allocations: 127.9 MB / 1.23 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.043, allocations: 96.16 kB / 1.23 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01897/1.062, allocations: 4.623 MB / 1.234 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/1.062, allocations: 0 / 1.234 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.095e-05/1.062, allocations: 4 kB / 1.234 GB, free: 23.51 MB / 0.6198 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.001047/1.063, allocations: 0.5498 MB / 1.235 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.063, allocations: 8.031 kB / 1.235 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/1.063, allocations: 35.56 kB / 1.235 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/1.063, allocations: 261 kB / 1.235 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/1.064, allocations: 35.84 kB / 1.235 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/1.064, allocations: 32.75 kB / 1.235 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/1.065, allocations: 327 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.065, allocations: 1.156 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.065, allocations: 15.5 kB / 1.235 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.065, allocations: 8 kB / 1.235 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/1.066, allocations: 259.3 kB / 1.236 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/1.068, allocations: 0.9442 MB / 1.237 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/1.069, allocations: 286.3 kB / 1.237 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/1.069, allocations: 128.5 kB / 1.237 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/1.069, allocations: 6.766 kB / 1.237 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/1.07, allocations: 185.9 kB / 1.237 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.586e-06/1.07, allocations: 4 kB / 1.237 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.001254/1.071, allocations: 360.7 kB / 1.237 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.071, allocations: 55.41 kB / 1.238 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/1.071, allocations: 204.7 kB / 1.238 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/1.071, allocations: 44.8 kB / 1.238 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.071, allocations: 149.7 kB / 1.238 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/1.071, allocations: 79.06 kB / 1.238 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.071, allocations: 10.06 kB / 1.238 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.072, allocations: 337 kB / 1.238 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/1.072, allocations: 116.7 kB / 1.238 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/1.072, allocations: 169.5 kB / 1.239 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/1.073, allocations: 139.9 kB / 1.239 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.073, allocations: 3.938 kB / 1.239 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001009/1.074, allocations: 374.2 kB / 1.239 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/1.074, allocations: 32.64 kB / 1.239 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.074, allocations: 4 kB / 1.239 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.074, allocations: 4 kB / 1.239 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/1.074, allocations: 46.19 kB / 1.239 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.074, allocations: 11.44 kB / 1.239 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/1.075, allocations: 48.28 kB / 1.239 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/1.075, allocations: 15.19 kB / 1.239 GB, free: 19.7 MB / 0.6198 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.0002958/1.075, allocations: 179.5 kB / 1.239 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/1.075, allocations: 23.72 kB / 1.239 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/1.076, allocations: 304.6 kB / 1.24 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.076, allocations: 7.938 kB / 1.24 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.076, allocations: 0 / 1.24 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.076, allocations: 2.203 kB / 1.24 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.078, allocations: 0.7549 MB / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.078, allocations: 0 / 1.24 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/1.078, allocations: 30.84 kB / 1.24 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.078, allocations: 1.688 kB / 1.24 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.079, allocations: 13.75 kB / 1.24 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.079, allocations: 0.7188 kB / 1.24 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.079, allocations: 7.953 kB / 1.24 GB, free: 34.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/1.079, allocations: 377.8 kB / 1.241 GB, free: 34.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/1.079, allocations: 101.4 kB / 1.241 GB, free: 34.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/1.08, allocations: 12.38 kB / 1.241 GB, free: 34.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/1.08, allocations: 35.2 kB / 1.241 GB, free: 34.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.08, allocations: 44.44 kB / 1.241 GB, free: 34.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/1.08, allocations: 11.66 kB / 1.241 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000149/1.08, allocations: 130.6 kB / 1.241 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.08, allocations: 7.062 kB / 1.241 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000484/1.081, allocations: 62.42 kB / 1.241 GB, free: 34.15 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.0001959/1.081, allocations: 121.5 kB / 1.241 GB, free: 34.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009287/1.082, allocations: 342.1 kB / 1.242 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.082, allocations: 0 / 1.242 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/1.082, allocations: 143.2 kB / 1.242 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.083, allocations: 36.44 kB / 1.242 GB, free: 33.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/1.084, allocations: 0.5173 MB / 1.242 GB, free: 33.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.084, allocations: 0.7636 MB / 1.243 GB, free: 32.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002262/1.085, allocations: 30.34 kB / 1.243 GB, free: 32.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.085, allocations: 23.44 kB / 1.243 GB, free: 32.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/1.085, allocations: 0 / 1.243 GB, free: 32.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.009507/1.094, allocations: 2.694 MB / 1.246 GB, free: 29.82 MB / 0.6355 GB