Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.844/4.844, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002451/0.00245, allocations: 352 kB / 0.6447 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 4.314/4.314, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001911/0.001911, allocations: 184 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005025, allocations: 12 kB / 1.349 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.746, 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.RequestCounter): time 0.00176/0.7478, allocations: 1.227 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.7486, allocations: 464.1 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.7487, allocations: 3.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.645e-05/0.7488, allocations: 7.984 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.7489, allocations: 9.5 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.7491, allocations: 23.97 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.7492, allocations: 67.77 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.7493, allocations: 15.02 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.7495, allocations: 35.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.7495, allocations: 35.83 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.7496, allocations: 5.062 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.7496, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.7497, allocations: 11.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.7497, allocations: 40.3 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.7498, allocations: 45.97 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7498, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7498, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.7499, allocations: 0 / 1.463 GB, free: 282.4 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007303/0.7506, allocations: 444 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.7506, allocations: 11.62 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.7507, allocations: 8.469 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.7509, allocations: 197.8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.7509, allocations: 8.656 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.7509, allocations: 7.938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.7513, allocations: 109.6 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7514, allocations: 1.219 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.7514, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7514, allocations: 4.656 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.7519, allocations: 85.09 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.7526, allocations: 341.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.753, allocations: 97.77 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.7533, allocations: 54.98 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.7534, allocations: 5.594 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.7538, allocations: 118 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.7538, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000933/0.7547, allocations: 239.7 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7548, allocations: 77.11 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.7549, allocations: 135 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.7549, allocations: 29.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.755, allocations: 92.67 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.755, allocations: 24.86 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.755, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.7551, allocations: 319.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.7554, allocations: 57.53 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.7557, allocations: 58.17 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.756, allocations: 100.1 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.756, allocations: 5.594 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006591/0.7567, allocations: 228 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.7567, allocations: 59.5 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7567, allocations: 3.938 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7568, allocations: 7.938 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.757, allocations: 26.92 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.757, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7572, allocations: 23.89 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.7573, allocations: 1.875 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001384/0.7574, allocations: 149.4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.7574, allocations: 7.906 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.7575, allocations: 19.88 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7575, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7575, allocations: 7.891 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.7576, allocations: 85.02 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.7576, allocations: 3.984 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.7578, allocations: 15.98 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.7579, allocations: 24.81 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007945/0.7588, allocations: 325.8 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006526/0.7594, allocations: 364.4 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002877/0.7597, allocations: 61.48 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.7598, allocations: 104.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Backend: time 7.32e-07/0.7598, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000703/0.7605, allocations: 263.8 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005422/0.7611, allocations: 0.6921 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of Templates: time 0.004622/0.7657, allocations: 1.285 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB