Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003826/0.003826, allocations: 359.9 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.744/1.744, allocations: 165.8 MB / 183.1 MB, free: 5.488 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.008/4.008, allocations: 410.7 MB / 0.6001 GB, free: 15.08 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001795/0.001795, allocations: 198.8 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005132, allocations: 15.94 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4353, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005065/0.4404, allocations: 3.499 MB / 0.8121 GB, free: 25.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.4435, allocations: 1.26 MB / 0.8134 GB, free: 24.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005477/0.4441, allocations: 23.88 kB / 0.8134 GB, free: 23.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.4443, allocations: 59.36 kB / 0.8135 GB, free: 23.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007789/0.4451, allocations: 186.6 kB / 0.8136 GB, free: 23.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.4462, allocations: 305.3 kB / 0.8139 GB, free: 23.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.4473, allocations: 0.8461 MB / 0.8148 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.4479, allocations: 303.5 kB / 0.815 GB, free: 22.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.4482, allocations: 218.8 kB / 0.8153 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.4486, allocations: 242.6 kB / 0.8155 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.4487, allocations: 24 kB / 0.8155 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.4488, allocations: 24 kB / 0.8155 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.4489, allocations: 99.47 kB / 0.8156 GB, free: 21.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.449, allocations: 153.3 kB / 0.8158 GB, free: 21.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.4499, allocations: 0.8084 MB / 0.8166 GB, free: 20.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4499, allocations: 0 / 0.8166 GB, free: 20.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4499, allocations: 0 / 0.8166 GB, free: 20.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.45, allocations: 0 / 0.8166 GB, free: 20.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002369/0.4523, allocations: 0.96 MB / 0.8175 GB, free: 19.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4524, allocations: 12.02 kB / 0.8175 GB, free: 19.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.4526, allocations: 83.06 kB / 0.8176 GB, free: 19.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.4537, allocations: 0.5368 MB / 0.8181 GB, free: 19.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.4537, allocations: 41.31 kB / 0.8182 GB, free: 19.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4539, allocations: 60 kB / 0.8182 GB, free: 18.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.4554, allocations: 0.6114 MB / 0.8188 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.4555, allocations: 7.938 kB / 0.8188 GB, free: 18.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.4556, allocations: 24 kB / 0.8188 GB, free: 18.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.4556, allocations: 12 kB / 0.8188 GB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4571, allocations: 468.9 kB / 0.8193 GB, free: 17.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.4611, allocations: 2.024 MB / 0.8213 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4626, allocations: 454.8 kB / 0.8217 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.4633, allocations: 246.1 kB / 0.8219 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.4633, allocations: 8.438 kB / 0.8219 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/0.4642, allocations: 261.4 kB / 0.8222 GB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 4.348e-06/0.4642, allocations: 0 / 0.8222 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.00203/0.4662, allocations: 0.596 MB / 0.8228 GB, free: 14.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.4663, allocations: 63.83 kB / 0.8228 GB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.4669, allocations: 442 kB / 0.8233 GB, free: 13.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.467, allocations: 33.7 kB / 0.8233 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.4672, allocations: 325 kB / 0.8236 GB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4674, allocations: 161.6 kB / 0.8238 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.4675, allocations: 12 kB / 0.8238 GB, free: 13.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4676, allocations: 366.7 kB / 0.8241 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.4682, allocations: 173 kB / 0.8243 GB, free: 12.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.4688, allocations: 261.8 kB / 0.8245 GB, free: 12.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.4695, allocations: 223.8 kB / 0.8247 GB, free: 12.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4695, allocations: 0 / 0.8247 GB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0016/0.4712, allocations: 0.5741 MB / 0.8253 GB, free: 11.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.4712, allocations: 33.7 kB / 0.8253 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4712, allocations: 0 / 0.8253 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4713, allocations: 4 kB / 0.8253 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.4721, allocations: 115.8 kB / 0.8255 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.4722, allocations: 8 kB / 0.8255 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.4728, allocations: 67.69 kB / 0.8255 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.4729, allocations: 20 kB / 0.8255 GB, free: 11.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003763/0.4733, allocations: 213.7 kB / 0.8257 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.4734, allocations: 55.34 kB / 0.8258 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.4735, allocations: 61.59 kB / 0.8259 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.4735, allocations: 11.92 kB / 0.8259 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4736, allocations: 0 / 0.8259 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.4738, allocations: 172.3 kB / 0.826 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.4739, allocations: 8 kB / 0.826 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.4744, allocations: 31.97 kB / 0.8261 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4745, allocations: 40.33 kB / 0.8261 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002076/0.4766, allocations: 0.5738 MB / 0.8267 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002129/0.4788, allocations: 0.8609 MB / 0.8275 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006109/0.4794, allocations: 211.4 kB / 0.8277 GB, free: 8.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004659/0.4799, allocations: 302.9 kB / 0.828 GB, free: 8.648 MB / 378.7 MB Notification: Performance of Backend: time 5.51e-07/0.4799, allocations: 3.938 kB / 0.828 GB, free: 8.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.4813, allocations: 419.5 kB / 0.8284 GB, free: 8.223 MB / 378.7 MB Notification: Performance of SimCode: time 0.003155/0.4844, allocations: 1.959 MB / 0.8303 GB, free: 6.211 MB / 378.7 MB Notification: Performance of Templates: time 0.01727/0.5017, allocations: 6.244 MB / 0.8364 GB, free: 44 kB / 378.7 MB