Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005317/0.005324, allocations: 359 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.759/1.759, allocations: 165.8 MB / 183.1 MB, free: 5.43 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.357/4.357, allocations: 410.7 MB / 0.6001 GB, free: 15.09 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.002721/0.00272, allocations: 196.8 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005072, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4242, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004661/0.429, allocations: 3.132 MB / 0.8118 GB, free: 25.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.4325, allocations: 1.236 MB / 0.813 GB, free: 24.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007177/0.4333, allocations: 31.81 kB / 0.813 GB, free: 24.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.4334, allocations: 47.39 kB / 0.8131 GB, free: 24.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007749/0.4342, allocations: 158.8 kB / 0.8132 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.4358, allocations: 472.3 kB / 0.8137 GB, free: 23.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.4374, allocations: 0.8472 MB / 0.8145 GB, free: 22.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005459/0.438, allocations: 251.2 kB / 0.8147 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.4385, allocations: 270.4 kB / 0.815 GB, free: 22.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.4389, allocations: 262.3 kB / 0.8152 GB, free: 22.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.439, allocations: 24 kB / 0.8153 GB, free: 22.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.4391, allocations: 20 kB / 0.8153 GB, free: 22.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4392, allocations: 111.3 kB / 0.8154 GB, free: 21.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4394, allocations: 141.3 kB / 0.8155 GB, free: 21.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.4401, allocations: 0.6254 MB / 0.8161 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4401, allocations: 4 kB / 0.8161 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4401, allocations: 0 / 0.8161 GB, free: 21.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4402, allocations: 0 / 0.8161 GB, free: 21.16 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002713/0.4429, allocations: 1.055 MB / 0.8172 GB, free: 20.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4429, allocations: 8.031 kB / 0.8172 GB, free: 20.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.4432, allocations: 94.88 kB / 0.8173 GB, free: 19.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.4446, allocations: 0.5823 MB / 0.8178 GB, free: 19.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.4447, allocations: 96.41 kB / 0.8179 GB, free: 19.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4449, allocations: 59.98 kB / 0.818 GB, free: 19.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.4465, allocations: 0.6079 MB / 0.8186 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.4466, allocations: 3.938 kB / 0.8186 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.16e-05/0.4467, allocations: 24 kB / 0.8186 GB, free: 18.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4467, allocations: 12 kB / 0.8186 GB, free: 18.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.4482, allocations: 439.6 kB / 0.819 GB, free: 18.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.4523, allocations: 2.129 MB / 0.8211 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.4543, allocations: 0.5209 MB / 0.8216 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.4551, allocations: 228.8 kB / 0.8218 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.783e-05/0.4552, allocations: 4 kB / 0.8219 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.4562, allocations: 293.9 kB / 0.8221 GB, free: 14.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 4.138e-06/0.4562, allocations: 0 / 0.8221 GB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002385/0.4586, allocations: 0.6413 MB / 0.8228 GB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4587, allocations: 88.84 kB / 0.8228 GB, free: 14.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009046/0.4596, allocations: 0.6061 MB / 0.8234 GB, free: 13.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.4597, allocations: 33.7 kB / 0.8235 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.46, allocations: 368.8 kB / 0.8238 GB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.4602, allocations: 153.8 kB / 0.824 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.4602, allocations: 12 kB / 0.824 GB, free: 12.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.4603, allocations: 326 kB / 0.8243 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/0.4611, allocations: 181 kB / 0.8245 GB, free: 12.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.4619, allocations: 288.2 kB / 0.8247 GB, free: 12.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.4627, allocations: 238.4 kB / 0.825 GB, free: 11.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4627, allocations: 0 / 0.825 GB, free: 11.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001946/0.4647, allocations: 0.6138 MB / 0.8256 GB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4648, allocations: 189.3 kB / 0.8257 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4648, allocations: 7.984 kB / 0.8258 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.4649, allocations: 4 kB / 0.8258 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/0.4658, allocations: 115.8 kB / 0.8259 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4658, allocations: 8 kB / 0.8259 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.4665, allocations: 71.41 kB / 0.8259 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.4666, allocations: 25.08 kB / 0.826 GB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.4666, allocations: 6.656 kB / 0.826 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00154/0.4682, allocations: 0.4998 MB / 0.8265 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4682, allocations: 4 kB / 0.8265 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.4682, allocations: 4 kB / 0.8265 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.4691, allocations: 108.1 kB / 0.8266 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4691, allocations: 8 kB / 0.8266 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.4698, allocations: 67.45 kB / 0.8266 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.4699, allocations: 16 kB / 0.8267 GB, free: 9.973 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004562/0.4703, allocations: 278.8 kB / 0.8269 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4705, allocations: 71.09 kB / 0.827 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.4707, allocations: 83.33 kB / 0.8271 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4707, allocations: 4 kB / 0.8271 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4707, allocations: 0 / 0.8271 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.471, allocations: 200 kB / 0.8273 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4711, allocations: 8 kB / 0.8273 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.4719, allocations: 43.95 kB / 0.8273 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.4721, allocations: 35.95 kB / 0.8273 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002353/0.4744, allocations: 0.5872 MB / 0.8279 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002555/0.477, allocations: 0.909 MB / 0.8288 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007199/0.4778, allocations: 224.4 kB / 0.829 GB, free: 7.492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006989/0.4785, allocations: 427 kB / 0.8294 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Backend: time 7.52e-07/0.4785, allocations: 0 / 0.8294 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.4809, allocations: 0.7288 MB / 0.8301 GB, free: 6.324 MB / 378.7 MB Notification: Performance of SimCode: time 0.003319/0.4842, allocations: 1.851 MB / 0.832 GB, free: 4.426 MB / 378.7 MB Notification: Performance of Templates: time 0.02691/0.5112, allocations: 9.317 MB / 0.841 GB, free: 11.19 MB / 394.7 MB