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.001441/0.00144, allocations: 186.7 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6836/0.6836, allocations: 82.93 MB / 99.42 MB, free: 3.324 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 325.4 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 94.8 kB / 393.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 8 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08711, allocations: 67.47 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005151/0.09231, allocations: 3.377 MB / 0.5296 GB, free: 11.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.09498, allocations: 1.287 MB / 0.5309 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.09535, allocations: 23.88 kB / 0.5309 GB, free: 10.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.09551, allocations: 67.34 kB / 0.531 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006566/0.09618, allocations: 215.3 kB / 0.5312 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009131/0.09711, allocations: 307.3 kB / 0.5315 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.09805, allocations: 0.5861 MB / 0.5321 GB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.09861, allocations: 291.6 kB / 0.5323 GB, free: 8.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.09898, allocations: 242.9 kB / 0.5326 GB, free: 8.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.09933, allocations: 246.6 kB / 0.5328 GB, free: 8.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.09942, allocations: 24 kB / 0.5328 GB, free: 8.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.09951, allocations: 24 kB / 0.5329 GB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.09964, allocations: 91.55 kB / 0.5329 GB, free: 8.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.09982, allocations: 153.3 kB / 0.5331 GB, free: 8.117 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.1008, allocations: 0.8027 MB / 0.5339 GB, free: 7.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.429e-06/0.1008, allocations: 0 / 0.5339 GB, free: 7.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.982e-06/0.1008, allocations: 4 kB / 0.5339 GB, free: 7.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1008, allocations: 0 / 0.5339 GB, free: 7.309 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.001904/0.1028, allocations: 0.9639 MB / 0.5348 GB, free: 6.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1028, allocations: 8.031 kB / 0.5348 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.103, allocations: 86.91 kB / 0.5349 GB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1041, allocations: 0.5291 MB / 0.5354 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.1041, allocations: 41.31 kB / 0.5355 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.1043, allocations: 60 kB / 0.5355 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1057, allocations: 0.6036 MB / 0.5361 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1058, allocations: 4 kB / 0.5361 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.1059, allocations: 27.98 kB / 0.5361 GB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1059, allocations: 16 kB / 0.5362 GB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.1073, allocations: 465 kB / 0.5366 GB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003898/0.1112, allocations: 2.02 MB / 0.5386 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.1125, allocations: 454.6 kB / 0.539 GB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.1126, allocations: 8.438 kB / 0.539 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.1133, allocations: 261.4 kB / 0.5393 GB, free: 1.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.781e-06/0.1133, allocations: 0 / 0.5393 GB, free: 1.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001775/0.1151, allocations: 0.6006 MB / 0.5398 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.1152, allocations: 63.78 kB / 0.5399 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.1159, allocations: 438 kB / 0.5403 GB, free: 468 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.116, allocations: 33.7 kB / 0.5404 GB, free: 428 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.1163, allocations: 340.2 kB / 0.5407 GB, free: 84 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.1165, allocations: 161.7 kB / 0.5408 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1166, allocations: 8 kB / 0.5408 GB, free: 15.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1168, allocations: 370.5 kB / 0.5412 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.1173, allocations: 173 kB / 0.5414 GB, free: 15.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.118, allocations: 253.8 kB / 0.5416 GB, free: 15.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.1186, allocations: 223.8 kB / 0.5418 GB, free: 14.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.1186, allocations: 7.984 kB / 0.5418 GB, free: 14.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001505/0.1202, allocations: 0.5624 MB / 0.5424 GB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.1202, allocations: 33.7 kB / 0.5424 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.671e-06/0.1202, allocations: 0 / 0.5424 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1203, allocations: 4 kB / 0.5424 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.1209, allocations: 119.8 kB / 0.5425 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1209, allocations: 4 kB / 0.5425 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.1214, allocations: 75.73 kB / 0.5426 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.1215, allocations: 16 kB / 0.5426 GB, free: 14.04 MB / 394.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.0003987/0.1219, allocations: 209.7 kB / 0.5428 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.122, allocations: 55.34 kB / 0.5429 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1222, allocations: 73.52 kB / 0.5429 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.289e-06/0.1222, allocations: 4 kB / 0.5429 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1222, allocations: 4 kB / 0.5429 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.93e-06/0.1223, allocations: 0 / 0.5429 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.1248, allocations: 1.185 MB / 0.5441 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.476e-06/0.1248, allocations: 3.984 kB / 0.5441 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.1255, allocations: 99.83 kB / 0.5442 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.068e-06/0.1255, allocations: 0 / 0.5442 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.1256, allocations: 12 kB / 0.5442 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.1256, allocations: 7.984 kB / 0.5442 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.381e-06/0.1256, allocations: 4 kB / 0.5442 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.128, allocations: 0.7718 MB / 0.545 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.1283, allocations: 164.4 kB / 0.5451 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.1284, allocations: 12 kB / 0.5451 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1288, allocations: 35.91 kB / 0.5452 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.129, allocations: 36.39 kB / 0.5452 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-05/0.129, allocations: 15.98 kB / 0.5452 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005193/0.1295, allocations: 302.9 kB / 0.5455 GB, free: 10.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.326e-06/0.1296, allocations: 0 / 0.5455 GB, free: 10.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.1302, allocations: 151.4 kB / 0.5457 GB, free: 10.81 MB / 394.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.0001639/0.1304, allocations: 115 kB / 0.5458 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.1317, allocations: 485 kB / 0.5462 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-06/0.1317, allocations: 3.938 kB / 0.5462 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.1323, allocations: 226.9 kB / 0.5465 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.1332, allocations: 134.5 kB / 0.5466 GB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.1369, allocations: 1.618 MB / 0.5482 GB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.1376, allocations: 0.9058 MB / 0.5491 GB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000422/0.138, allocations: 56.58 kB / 0.5491 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1382, allocations: 47.42 kB / 0.5492 GB, free: 7.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.597e-06/0.1382, allocations: 0 / 0.5492 GB, free: 7.164 MB / 394.7 MB Notification: Performance of Templates: time 0.02195/0.1601, allocations: 5.352 MB / 0.5544 GB, free: 1.895 MB / 394.7 MB