Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.81/3.81, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.757e-05/2.773e-05, allocations: 4.078 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1779, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.4252, allocations: 127.8 MB / 0.7595 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.4255, allocations: 95.92 kB / 0.7596 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.4434, allocations: 4.598 MB / 0.7641 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.103e-06/0.4435, allocations: 3.984 kB / 0.7641 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.4435, allocations: 7.938 kB / 0.7641 GB, free: 13.24 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009708/0.4445, allocations: 0.527 MB / 0.7646 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4445, allocations: 12.03 kB / 0.7646 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4447, allocations: 39.58 kB / 0.7647 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.4451, allocations: 261 kB / 0.7649 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.4452, allocations: 28.5 kB / 0.7649 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.4452, allocations: 35.98 kB / 0.765 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.446, allocations: 303.7 kB / 0.7653 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.446, allocations: 3.938 kB / 0.7653 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.4461, allocations: 12 kB / 0.7653 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4461, allocations: 4 kB / 0.7653 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.4467, allocations: 226.2 kB / 0.7655 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.4488, allocations: 0.94 MB / 0.7664 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.4494, allocations: 231.2 kB / 0.7666 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4497, allocations: 108.8 kB / 0.7667 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.4497, allocations: 0 / 0.7667 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.4501, allocations: 163.3 kB / 0.7669 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.607e-06/0.4502, allocations: 0 / 0.7669 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006118/0.4508, allocations: 229.4 kB / 0.7671 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.4508, allocations: 55.41 kB / 0.7672 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4511, allocations: 182.4 kB / 0.7673 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.4512, allocations: 41.7 kB / 0.7674 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4513, allocations: 156.5 kB / 0.7675 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.4515, allocations: 86.97 kB / 0.7676 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.4515, allocations: 8 kB / 0.7676 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4517, allocations: 338.8 kB / 0.7679 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.452, allocations: 88.88 kB / 0.768 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.4523, allocations: 145.5 kB / 0.7682 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4525, allocations: 117.6 kB / 0.7683 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4526, allocations: 0 / 0.7683 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007958/0.4534, allocations: 334.8 kB / 0.7686 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4534, allocations: 37.64 kB / 0.7686 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4535, allocations: 4 kB / 0.7686 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4535, allocations: 4.156 kB / 0.7686 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.4538, allocations: 51.84 kB / 0.7687 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4538, allocations: 4 kB / 0.7687 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.4542, allocations: 47.81 kB / 0.7687 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.4542, allocations: 19.98 kB / 0.7688 GB, free: 8.188 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.0001673/0.4544, allocations: 144.2 kB / 0.7689 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.4545, allocations: 23.72 kB / 0.7689 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.4551, allocations: 263.3 kB / 0.7692 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.199e-06/0.4552, allocations: 4 kB / 0.7692 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-06/0.4552, allocations: 0 / 0.7692 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.072e-06/0.4552, allocations: 3.984 kB / 0.7692 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.4567, allocations: 0.7179 MB / 0.7699 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.4567, allocations: 0 / 0.7699 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.4569, allocations: 31.98 kB / 0.7699 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-06/0.457, allocations: 0 / 0.7699 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.457, allocations: 11.98 kB / 0.7699 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-06/0.457, allocations: 7.938 kB / 0.7699 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.665e-06/0.457, allocations: 7.891 kB / 0.7699 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4576, allocations: 327.3 kB / 0.7702 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.4577, allocations: 100.8 kB / 0.7703 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.4578, allocations: 4 kB / 0.7703 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.4581, allocations: 39.97 kB / 0.7704 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.4583, allocations: 39.94 kB / 0.7704 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.4583, allocations: 19.94 kB / 0.7704 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001524/0.4585, allocations: 127.8 kB / 0.7706 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.94e-07/0.4585, allocations: 0 / 0.7706 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000491/0.459, allocations: 67.88 kB / 0.7706 GB, free: 6.172 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.0002248/0.4593, allocations: 137.4 kB / 0.7708 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.4599, allocations: 299.3 kB / 0.771 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.46, allocations: 0 / 0.771 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.4602, allocations: 119.9 kB / 0.7712 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.4606, allocations: 28.42 kB / 0.7712 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.4616, allocations: 321.2 kB / 0.7715 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4621, allocations: 0.7642 MB / 0.7722 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.4623, allocations: 34.06 kB / 0.7723 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4624, allocations: 27.42 kB / 0.7723 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of SimCode: time 1.82e-06/0.4624, allocations: 0 / 0.7723 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of Templates: time 0.009076/0.4715, allocations: 2.685 MB / 0.7749 GB, free: 1.715 MB / 0.6511 GB