Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.907/4.907, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002408/0.002407, allocations: 356.4 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.988/3.988, allocations: 410.7 MB / 1.112 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.00178, allocations: 188.5 kB / 1.225 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008653/0.0008657, allocations: 16 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.7284, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002007/0.7305, allocations: 1.7 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7317, allocations: 0.7142 MB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.7318, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.7319, allocations: 24.92 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.7321, allocations: 24.41 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.7324, allocations: 112.4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.7328, allocations: 339.9 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.7331, allocations: 200.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.7332, allocations: 97.78 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.7334, allocations: 111.4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.7334, allocations: 16 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.7335, allocations: 20 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.7336, allocations: 47.83 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.7337, allocations: 73.52 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.734, allocations: 310 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.333e-06/0.734, allocations: 5.016 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.298e-06/0.734, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.734, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 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.0007954/0.7348, allocations: 0.547 MB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.7349, allocations: 11.62 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.735, allocations: 38.55 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.7353, allocations: 262.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.7353, allocations: 24.66 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.7354, allocations: 35.98 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007317/0.7361, allocations: 329.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7362, allocations: 1.281 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.7362, allocations: 12 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.7362, allocations: 8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.737, allocations: 273.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.7387, allocations: 0.9538 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.74, allocations: 271 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.7405, allocations: 131.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.7406, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/0.7415, allocations: 181.5 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 5.811e-06/0.7415, allocations: 0 / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.001819/0.7433, allocations: 376.3 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.7434, allocations: 63.3 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.7438, allocations: 201.3 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.7438, allocations: 42.41 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.744, allocations: 148.6 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.7441, allocations: 84.7 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.7442, allocations: 15.94 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.7443, allocations: 330.8 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.7448, allocations: 114 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.7454, allocations: 173.3 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.7459, allocations: 131 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-06/0.746, allocations: 0.7812 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001519/0.7475, allocations: 379.8 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.7476, allocations: 29.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.7476, allocations: 4 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.7477, allocations: 3.938 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.7481, allocations: 49.38 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.7481, allocations: 4 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.7486, allocations: 65.64 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.7487, allocations: 13.39 kB / 1.47 GB, free: 275.2 MB / 0.8542 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.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,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.0003367/0.7491, allocations: 177.3 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.7492, allocations: 25.2 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.7504, allocations: 315.4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7505, allocations: 4 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7505, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.7505, allocations: 1.25 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.7528, allocations: 0.7623 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.809e-06/0.7529, allocations: 4.75 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.7532, allocations: 33.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.7532, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.7533, allocations: 7.953 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.024e-06/0.7533, allocations: 4 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.194e-06/0.7533, allocations: 1.406 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.7545, allocations: 380.3 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.7546, allocations: 92.86 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.7547, allocations: 12 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.7553, allocations: 41.03 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.7555, allocations: 44.84 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.7556, allocations: 4 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001836/0.7558, allocations: 138.5 kB / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.036e-06/0.7558, allocations: 0 / 1.471 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008672/0.7567, allocations: 71.75 kB / 1.472 GB, free: 273 MB / 0.8542 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.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,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.0002395/0.7569, allocations: 124.3 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.7583, allocations: 350.3 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.747e-06/0.7584, allocations: 0 / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006168/0.759, allocations: 145.2 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.7598, allocations: 33.59 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.7615, allocations: 0.5151 MB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.7618, allocations: 0.7637 MB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.7621, allocations: 32.44 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7623, allocations: 31.42 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of SimCode: time 2.503e-06/0.7624, allocations: 0 / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of Templates: time 0.01341/0.7758, allocations: 2.736 MB / 1.476 GB, free: 268.4 MB / 0.8542 GB