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.883/4.883, allocations: 0.5623 GB / 0.5776 GB, free: 3.301 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.002599/0.002599, allocations: 356.8 kB / 0.6447 GB, free: 185.6 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 4.366/4.366, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001915/0.001915, allocations: 183.8 kB / 1.226 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 16 kB / 1.349 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8226/0.8231, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002437/0.8256, allocations: 1.699 MB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.827, allocations: 0.7065 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.8271, allocations: 7.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.8273, allocations: 19.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.8274, allocations: 27.78 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.8278, allocations: 107.8 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.8282, allocations: 344.7 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.8286, allocations: 189.4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.8287, allocations: 95.62 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.8289, allocations: 112.1 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.8289, allocations: 16 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.829, allocations: 20.59 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.8291, allocations: 48.33 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.8292, allocations: 73.52 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.8295, allocations: 311 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8296, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8296, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8296, allocations: 0 / 1.465 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.001026/0.8306, allocations: 0.5504 MB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8307, allocations: 12.38 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.8308, allocations: 35.58 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.8311, allocations: 263.2 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.8312, allocations: 33.25 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.8312, allocations: 28 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.8321, allocations: 339.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.8321, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.8322, allocations: 12.66 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8322, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.8331, allocations: 268.6 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.8349, allocations: 0.9534 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.8358, allocations: 272.2 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.8362, allocations: 132.1 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.8363, allocations: 4 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.8368, allocations: 177.6 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.8369, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32): time 0.001224/0.8381, allocations: 376.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.8381, allocations: 55.41 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.8383, allocations: 205.7 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.8384, allocations: 41.7 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.8385, allocations: 152.5 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.8386, allocations: 87.34 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.8386, allocations: 8.844 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.8387, allocations: 334.8 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.8391, allocations: 110.8 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.8396, allocations: 171.8 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.84, allocations: 132.8 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.84, allocations: 0 / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009811/0.841, allocations: 378.7 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.841, allocations: 35.08 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.841, allocations: 4 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8411, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.8414, allocations: 49.39 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.8415, allocations: 4.5 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.8419, allocations: 68.45 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.842, allocations: 15.98 kB / 1.47 GB, free: 275.1 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.0002095/0.8422, allocations: 167.7 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.8422, allocations: 19.72 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/0.8431, allocations: 320.3 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8432, allocations: 0 / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8432, allocations: 0 / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.8432, allocations: 105.8 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.8433, allocations: 11.95 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.8437, allocations: 35.06 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.8438, allocations: 44.86 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001129/0.845, allocations: 406.5 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008474/0.8458, allocations: 457.1 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003909/0.8462, allocations: 138.5 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001107/0.8464, allocations: 134 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of Backend: time 8.41e-07/0.8464, allocations: 0 / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009868/0.8474, allocations: 327.6 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001036/0.8484, allocations: 0.9071 MB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of Templates: time 0.009319/0.8578, allocations: 2.957 MB / 1.476 GB, free: 269.2 MB / 0.8542 GB