Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 115.4 kB / 17.08 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 196.7 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.712/0.712, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.77 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005764/0.1558, allocations: 4.095 MB / 0.6367 GB, free: 320 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1583, allocations: 1.336 MB / 0.638 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.1587, allocations: 19.94 kB / 0.638 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.159, allocations: 126.7 kB / 0.6381 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.1594, allocations: 178.4 kB / 0.6383 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.1602, allocations: 420.7 kB / 0.6387 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.161, allocations: 0.9554 MB / 0.6396 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006019/0.1617, allocations: 462.1 kB / 0.6401 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.162, allocations: 330.8 kB / 0.6404 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.1624, allocations: 342.3 kB / 0.6407 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1625, allocations: 92 kB / 0.6408 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1626, allocations: 92 kB / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1627, allocations: 171.5 kB / 0.6411 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.1631, allocations: 397.9 kB / 0.6414 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.164, allocations: 1.059 MB / 0.6425 GB, free: 10.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.164, allocations: 0 / 0.6425 GB, free: 10.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.164, allocations: 0 / 0.6425 GB, free: 10.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.164, allocations: 0 / 0.6425 GB, free: 10.35 MB / 494.1 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.001749/0.1658, allocations: 1.085 MB / 0.6435 GB, free: 9.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1658, allocations: 12.03 kB / 0.6435 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1659, allocations: 80 kB / 0.6436 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.1668, allocations: 0.5651 MB / 0.6442 GB, free: 8.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.1669, allocations: 41.69 kB / 0.6442 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.167, allocations: 56.38 kB / 0.6443 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.168, allocations: 0.6156 MB / 0.6449 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.168, allocations: 0 / 0.6449 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.1681, allocations: 27.94 kB / 0.6449 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1681, allocations: 12 kB / 0.6449 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/0.169, allocations: 461 kB / 0.6453 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.1717, allocations: 1.989 MB / 0.6473 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/0.1726, allocations: 445.8 kB / 0.6477 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.1731, allocations: 242.1 kB / 0.6479 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.1731, allocations: 4.438 kB / 0.648 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.1736, allocations: 273.1 kB / 0.6482 GB, free: 4.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/0.1736, allocations: 0 / 0.6482 GB, free: 4.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.00126/0.1749, allocations: 0.5844 MB / 0.6488 GB, free: 3.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1749, allocations: 55.84 kB / 0.6488 GB, free: 3.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.1754, allocations: 442.1 kB / 0.6493 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1755, allocations: 41.7 kB / 0.6493 GB, free: 3.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.1757, allocations: 324.3 kB / 0.6496 GB, free: 2.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1759, allocations: 161.6 kB / 0.6498 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.176, allocations: 98.23 kB / 0.6499 GB, free: 2.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1762, allocations: 362.8 kB / 0.6502 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.1765, allocations: 161 kB / 0.6504 GB, free: 2.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.177, allocations: 257.8 kB / 0.6506 GB, free: 1.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.1777, allocations: 451.9 kB / 0.651 GB, free: 1.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1778, allocations: 8 kB / 0.651 GB, free: 1.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009908/0.1788, allocations: 0.5623 MB / 0.6516 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1788, allocations: 33.64 kB / 0.6516 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1788, allocations: 4 kB / 0.6516 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1789, allocations: 8.25 kB / 0.6516 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1793, allocations: 111.8 kB / 0.6517 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1793, allocations: 8 kB / 0.6517 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.1797, allocations: 55.5 kB / 0.6518 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.1797, allocations: 20 kB / 0.6518 GB, free: 436 kB / 494.1 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.18, allocations: 205.7 kB / 0.652 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.18, allocations: 63.27 kB / 0.6521 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1802, allocations: 69.58 kB / 0.6521 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1802, allocations: 7.938 kB / 0.6521 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1802, allocations: 0 / 0.6521 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1802, allocations: 3.984 kB / 0.6522 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.1819, allocations: 1.17 MB / 0.6533 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1819, allocations: 4 kB / 0.6533 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.1824, allocations: 95.83 kB / 0.6534 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.1824, allocations: 7.984 kB / 0.6534 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.1825, allocations: 12 kB / 0.6534 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1825, allocations: 0 / 0.6534 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1825, allocations: 0 / 0.6534 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.1838, allocations: 0.7613 MB / 0.6542 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.184, allocations: 172.2 kB / 0.6543 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.184, allocations: 8 kB / 0.6543 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.1843, allocations: 27.97 kB / 0.6544 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.1844, allocations: 32.39 kB / 0.6544 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.1844, allocations: 12 kB / 0.6544 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003195/0.1848, allocations: 318.8 kB / 0.6547 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1848, allocations: 0 / 0.6547 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004353/0.1852, allocations: 143.5 kB / 0.6548 GB, free: 13.24 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.1853, allocations: 107.2 kB / 0.6549 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009071/0.1863, allocations: 493.3 kB / 0.6554 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1863, allocations: 0 / 0.6554 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.1867, allocations: 214.4 kB / 0.6556 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.1874, allocations: 169 kB / 0.6558 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.19, allocations: 1.367 MB / 0.6571 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.1904, allocations: 0.886 MB / 0.658 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1906, allocations: 47.44 kB / 0.658 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.1906, allocations: 0 / 0.658 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.01128/0.2019, allocations: 7.742 MB / 0.6656 GB, free: 2.203 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)