Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002608/0.002608, allocations: 358.2 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.54/1.54, allocations: 165.8 MB / 183.1 MB, free: 5.402 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.061/4.061, allocations: 410.7 MB / 0.6001 GB, free: 15.25 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.001845/0.001844, allocations: 199.1 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 12 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4286, allocations: 67.45 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresis): time 0.003606/0.4322, allocations: 2.486 MB / 0.8112 GB, free: 26.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.4344, allocations: 0.8819 MB / 0.812 GB, free: 25.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.4348, allocations: 11.94 kB / 0.812 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.4349, allocations: 27.66 kB / 0.8121 GB, free: 25.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.4354, allocations: 99.2 kB / 0.8122 GB, free: 25.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.4359, allocations: 160.6 kB / 0.8123 GB, free: 25.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.4365, allocations: 439.2 kB / 0.8127 GB, free: 24.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.4368, allocations: 149 kB / 0.8129 GB, free: 24.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.4371, allocations: 123.2 kB / 0.813 GB, free: 24.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4373, allocations: 123.2 kB / 0.8131 GB, free: 24.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.4373, allocations: 12 kB / 0.8131 GB, free: 24.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.4374, allocations: 12 kB / 0.8131 GB, free: 24.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.4375, allocations: 59.62 kB / 0.8132 GB, free: 24.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.4376, allocations: 89.52 kB / 0.8133 GB, free: 24.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005124/0.4381, allocations: 361.2 kB / 0.8136 GB, free: 23.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4381, allocations: 0 / 0.8136 GB, free: 23.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4381, allocations: 4 kB / 0.8136 GB, free: 23.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.4382, allocations: 0 / 0.8136 GB, free: 23.77 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001313/0.4395, allocations: 0.6504 MB / 0.8143 GB, free: 23.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4395, allocations: 12.03 kB / 0.8143 GB, free: 23.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4397, allocations: 43.44 kB / 0.8143 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/0.4403, allocations: 379.3 kB / 0.8147 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4404, allocations: 24.66 kB / 0.8147 GB, free: 22.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.4405, allocations: 28 kB / 0.8147 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/0.4413, allocations: 341.1 kB / 0.815 GB, free: 22.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4413, allocations: 4 kB / 0.815 GB, free: 22.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.4414, allocations: 12 kB / 0.8151 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4414, allocations: 12 kB / 0.8151 GB, free: 22.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.4421, allocations: 222.1 kB / 0.8153 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.4441, allocations: 1.198 MB / 0.8165 GB, free: 20.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.4449, allocations: 236.1 kB / 0.8167 GB, free: 20.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.4453, allocations: 121.1 kB / 0.8168 GB, free: 20.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.4453, allocations: 8.188 kB / 0.8168 GB, free: 20.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.4454, allocations: 34.75 kB / 0.8168 GB, free: 20.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.785e-06/0.4454, allocations: 0 / 0.8168 GB, free: 20.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009938/0.4464, allocations: 288.4 kB / 0.8171 GB, free: 19.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4465, allocations: 118.8 kB / 0.8172 GB, free: 19.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.4469, allocations: 333.6 kB / 0.8175 GB, free: 19.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.447, allocations: 29.7 kB / 0.8176 GB, free: 19.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.4472, allocations: 220.2 kB / 0.8178 GB, free: 19.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.4472, allocations: 82.84 kB / 0.8179 GB, free: 19.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.4473, allocations: 4 kB / 0.8179 GB, free: 19.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.4474, allocations: 346.8 kB / 0.8182 GB, free: 18.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.4477, allocations: 83.91 kB / 0.8183 GB, free: 18.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.448, allocations: 139.7 kB / 0.8184 GB, free: 18.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.4483, allocations: 92.67 kB / 0.8185 GB, free: 18.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4483, allocations: 0 / 0.8185 GB, free: 18.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007604/0.4491, allocations: 289.5 kB / 0.8188 GB, free: 18.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4491, allocations: 8 kB / 0.8188 GB, free: 18.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4492, allocations: 0 / 0.8188 GB, free: 18.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4492, allocations: 4 kB / 0.8188 GB, free: 18.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.4496, allocations: 51.91 kB / 0.8188 GB, free: 18.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.4496, allocations: 4 kB / 0.8188 GB, free: 18.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.45, allocations: 39.92 kB / 0.8189 GB, free: 18.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.45, allocations: 15.98 kB / 0.8189 GB, free: 18.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.000214/0.4502, allocations: 157.8 kB / 0.819 GB, free: 17.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.4503, allocations: 35.58 kB / 0.8191 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4504, allocations: 39.36 kB / 0.8191 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4504, allocations: 0 / 0.8191 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4505, allocations: 0 / 0.8191 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4506, allocations: 132.5 kB / 0.8192 GB, free: 17.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.4507, allocations: 8 kB / 0.8192 GB, free: 17.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.451, allocations: 27.97 kB / 0.8193 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.4511, allocations: 19.97 kB / 0.8193 GB, free: 17.64 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009396/0.4521, allocations: 316.3 kB / 0.8196 GB, free: 17.32 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001022/0.4531, allocations: 0.4982 MB / 0.8201 GB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002817/0.4534, allocations: 87.98 kB / 0.8202 GB, free: 16.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.4537, allocations: 243.1 kB / 0.8204 GB, free: 16.49 MB / 378.7 MB Notification: Performance of Backend: time 9.12e-07/0.4537, allocations: 0 / 0.8204 GB, free: 16.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008402/0.4546, allocations: 209.3 kB / 0.8206 GB, free: 16.28 MB / 378.7 MB Notification: Performance of SimCode: time 0.00179/0.4564, allocations: 1.275 MB / 0.8218 GB, free: 14.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.4671, allocations: 3.204 MB / 0.825 GB, free: 11.78 MB / 378.7 MB