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.002458/0.002458, allocations: 356.8 kB / 15.94 MB, free: 6.207 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.48/1.48, allocations: 165.8 MB / 182.5 MB, free: 5.457 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 3.936/3.936, allocations: 410.8 MB / 0.5995 GB, free: 15.17 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.001675/0.001675, allocations: 184.1 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005295, allocations: 16 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3343, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003809/0.3382, allocations: 3.502 MB / 0.8116 GB, free: 25.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3408, allocations: 1.256 MB / 0.8128 GB, free: 24.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.3413, allocations: 19.94 kB / 0.8128 GB, free: 24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.3415, allocations: 59.36 kB / 0.8129 GB, free: 23.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007368/0.3423, allocations: 190.6 kB / 0.813 GB, free: 23.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3433, allocations: 310.2 kB / 0.8133 GB, free: 23.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.3442, allocations: 0.8423 MB / 0.8142 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.3447, allocations: 299.5 kB / 0.8144 GB, free: 22.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.345, allocations: 226.8 kB / 0.8147 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3452, allocations: 242.6 kB / 0.8149 GB, free: 21.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.983e-05/0.3453, allocations: 24 kB / 0.8149 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.3454, allocations: 20 kB / 0.8149 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.3455, allocations: 95.48 kB / 0.815 GB, free: 21.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3457, allocations: 153.3 kB / 0.8152 GB, free: 21.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.3463, allocations: 0.8084 MB / 0.816 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.054e-06/0.3464, allocations: 0 / 0.816 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.855e-06/0.3464, allocations: 0 / 0.816 GB, free: 20.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.3464, allocations: 3.938 kB / 0.816 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.001638/0.348, allocations: 0.96 MB / 0.8169 GB, free: 19.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3481, allocations: 12.03 kB / 0.8169 GB, free: 19.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3483, allocations: 87 kB / 0.817 GB, free: 19.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.3492, allocations: 0.5368 MB / 0.8175 GB, free: 19.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.3492, allocations: 41.31 kB / 0.8176 GB, free: 19.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.3493, allocations: 60 kB / 0.8176 GB, free: 18.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3506, allocations: 0.6114 MB / 0.8182 GB, free: 18.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.3506, allocations: 4 kB / 0.8182 GB, free: 18.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.3507, allocations: 20 kB / 0.8182 GB, free: 18.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3507, allocations: 16 kB / 0.8183 GB, free: 18.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.3519, allocations: 469 kB / 0.8187 GB, free: 17.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.3552, allocations: 2.016 MB / 0.8207 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3564, allocations: 465.9 kB / 0.8211 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.357, allocations: 250 kB / 0.8214 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.357, allocations: 4.438 kB / 0.8214 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.3577, allocations: 265.4 kB / 0.8216 GB, free: 14.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 4.167e-06/0.3577, allocations: 0 / 0.8216 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001553/0.3593, allocations: 0.5922 MB / 0.8222 GB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3593, allocations: 59.78 kB / 0.8222 GB, free: 14.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.3599, allocations: 446 kB / 0.8227 GB, free: 13.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.3599, allocations: 33.7 kB / 0.8227 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.3602, allocations: 321 kB / 0.823 GB, free: 13.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3603, allocations: 165.6 kB / 0.8232 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.3604, allocations: 16 kB / 0.8232 GB, free: 13.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.3605, allocations: 370.7 kB / 0.8235 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.3609, allocations: 165 kB / 0.8237 GB, free: 12.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.3615, allocations: 253.8 kB / 0.8239 GB, free: 12.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.362, allocations: 227.8 kB / 0.8242 GB, free: 12.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-06/0.3621, allocations: 0 / 0.8242 GB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001286/0.3634, allocations: 0.5701 MB / 0.8247 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.3634, allocations: 33.7 kB / 0.8247 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.7e-06/0.3634, allocations: 4 kB / 0.8247 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3635, allocations: 4 kB / 0.8247 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3641, allocations: 124.1 kB / 0.8249 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3641, allocations: 7.984 kB / 0.8249 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.3646, allocations: 71.44 kB / 0.8249 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.3646, allocations: 16 kB / 0.825 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.0003524/0.365, allocations: 217.7 kB / 0.8252 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.3651, allocations: 55.34 kB / 0.8252 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.3653, allocations: 65.53 kB / 0.8253 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-06/0.3653, allocations: 8 kB / 0.8253 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-06/0.3653, allocations: 3.984 kB / 0.8253 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.282e-06/0.3653, allocations: 0 / 0.8253 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.3675, allocations: 1.181 MB / 0.8264 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-06/0.3676, allocations: 0 / 0.8264 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006929/0.3683, allocations: 103.8 kB / 0.8265 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-06/0.3683, allocations: 8 kB / 0.8266 GB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.3683, allocations: 8 kB / 0.8266 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.364e-06/0.3684, allocations: 4 kB / 0.8266 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3684, allocations: 0 / 0.8266 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.37, allocations: 0.7718 MB / 0.8273 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3702, allocations: 172.3 kB / 0.8275 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.3703, allocations: 11.98 kB / 0.8275 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.3707, allocations: 35.97 kB / 0.8275 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3708, allocations: 32.39 kB / 0.8276 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.3709, allocations: 16 kB / 0.8276 GB, free: 8.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003909/0.3713, allocations: 306.9 kB / 0.8279 GB, free: 8.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.3713, allocations: 0 / 0.8279 GB, free: 8.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.3719, allocations: 143.4 kB / 0.828 GB, free: 8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.372, allocations: 126.9 kB / 0.8281 GB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.3731, allocations: 489.5 kB / 0.8286 GB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.773e-06/0.3731, allocations: 4 kB / 0.8286 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.3737, allocations: 218.4 kB / 0.8288 GB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.3746, allocations: 149.9 kB / 0.8289 GB, free: 7.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.3776, allocations: 1.625 MB / 0.8305 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.378, allocations: 0.9019 MB / 0.8314 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.3784, allocations: 64.58 kB / 0.8315 GB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3786, allocations: 39.42 kB / 0.8315 GB, free: 4.328 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3786, allocations: 0 / 0.8315 GB, free: 4.328 MB / 378.7 MB Notification: Performance of Templates: time 0.01416/0.3927, allocations: 5.347 MB / 0.8367 GB, free: 15.06 MB / 394.7 MB