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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.963/3.963, allocations: 433.4 MB / 440.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.088e-05, allocations: 11.94 kB / 0.5325 GB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5334, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.7313, allocations: 127.1 MB / 0.753 GB, free: 436 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.7316, allocations: 95.88 kB / 0.7531 GB, free: 340 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.7489, allocations: 4.532 MB / 0.7576 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.688e-06/0.7489, allocations: 4 kB / 0.7576 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.81e-05/0.7489, allocations: 7.938 kB / 0.7576 GB, free: 11.75 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.0009519/0.7499, allocations: 0.5273 MB / 0.7581 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.75, allocations: 16.02 kB / 0.7581 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.7501, allocations: 43.58 kB / 0.7581 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.7505, allocations: 262.5 kB / 0.7584 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.7506, allocations: 12 kB / 0.7584 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.7507, allocations: 24 kB / 0.7584 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005739/0.7512, allocations: 205.1 kB / 0.7586 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.7519, allocations: 270.5 kB / 0.7589 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7519, allocations: 0 / 0.7589 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.752, allocations: 4 kB / 0.7589 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.752, allocations: 7.953 kB / 0.7589 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.7539, allocations: 0.8694 MB / 0.7597 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.7545, allocations: 223.2 kB / 0.76 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.7547, allocations: 96.86 kB / 0.76 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.7548, allocations: 0 / 0.76 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.7551, allocations: 149.5 kB / 0.7602 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 5.653e-06/0.7552, allocations: 4 kB / 0.7602 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.0005714/0.7557, allocations: 213.3 kB / 0.7604 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7558, allocations: 59.41 kB / 0.7605 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.756, allocations: 161.6 kB / 0.7606 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.7561, allocations: 33.7 kB / 0.7606 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.7563, allocations: 152.8 kB / 0.7608 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.7564, allocations: 75.05 kB / 0.7609 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.7564, allocations: 0 / 0.7609 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7566, allocations: 338.8 kB / 0.7612 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.7568, allocations: 84.86 kB / 0.7613 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.7571, allocations: 136.6 kB / 0.7614 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.7573, allocations: 71.92 kB / 0.7615 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-06/0.7574, allocations: 4 kB / 0.7615 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006767/0.758, allocations: 277.1 kB / 0.7617 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.7581, allocations: 33.7 kB / 0.7618 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.7581, allocations: 4 kB / 0.7618 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.7582, allocations: 4 kB / 0.7618 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.7585, allocations: 43.84 kB / 0.7618 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.7585, allocations: 11.92 kB / 0.7618 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.7588, allocations: 47.95 kB / 0.7619 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.7589, allocations: 12 kB / 0.7619 GB, free: 7.09 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 () * 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.0001617/0.759, allocations: 136.5 kB / 0.762 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.7591, allocations: 19.81 kB / 0.762 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006174/0.7597, allocations: 232.6 kB / 0.7622 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.7598, allocations: 7.984 kB / 0.7623 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-06/0.7598, allocations: 3.938 kB / 0.7623 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7598, allocations: 4 kB / 0.7623 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.7611, allocations: 0.6471 MB / 0.7629 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-06/0.7611, allocations: 0 / 0.7629 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.7613, allocations: 31.92 kB / 0.7629 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.8e-06/0.7614, allocations: 4 kB / 0.7629 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.7614, allocations: 3.984 kB / 0.7629 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.558e-06/0.7614, allocations: 0 / 0.7629 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-06/0.7614, allocations: 0 / 0.7629 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.762, allocations: 327.1 kB / 0.7632 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.7621, allocations: 100.8 kB / 0.7633 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.7622, allocations: 0 / 0.7633 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.7625, allocations: 27.97 kB / 0.7634 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.7626, allocations: 39.94 kB / 0.7634 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.7627, allocations: 15.98 kB / 0.7634 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001161/0.7628, allocations: 119.5 kB / 0.7635 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.26e-07/0.7628, allocations: 0 / 0.7635 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004786/0.7633, allocations: 51.94 kB / 0.7636 GB, free: 5.258 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) * 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.0002177/0.7636, allocations: 121.4 kB / 0.7637 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.7642, allocations: 279.4 kB / 0.764 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.817e-06/0.7642, allocations: 8 kB / 0.764 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.7645, allocations: 112.5 kB / 0.7641 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.7648, allocations: 23.94 kB / 0.7641 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.7657, allocations: 298.9 kB / 0.7644 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.7662, allocations: 0.7684 MB / 0.7651 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.7663, allocations: 30.06 kB / 0.7652 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7665, allocations: 23.44 kB / 0.7652 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of SimCode: time 1.777e-06/0.7665, allocations: 0 / 0.7652 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of Templates: time 0.008537/0.775, allocations: 2.514 MB / 0.7676 GB, free: 1.047 MB / 0.6355 GB