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.001339/0.001338, allocations: 116.6 kB / 17.09 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.001404/0.001404, allocations: 189.6 kB / 18.02 MB, free: 5.09 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6995/0.6995, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.11 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 76.17 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005053/0.1547, allocations: 4.099 MB / 0.6367 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.157, allocations: 1.332 MB / 0.638 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.1573, allocations: 23.88 kB / 0.638 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1577, allocations: 126.7 kB / 0.6381 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.158, allocations: 174.4 kB / 0.6383 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.1588, allocations: 419.1 kB / 0.6387 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000879/0.1597, allocations: 0.9632 MB / 0.6397 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.1603, allocations: 454.1 kB / 0.6401 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.1607, allocations: 330.8 kB / 0.6404 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.161, allocations: 338.3 kB / 0.6407 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1611, allocations: 92 kB / 0.6408 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1612, allocations: 92 kB / 0.6409 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1614, allocations: 171.5 kB / 0.6411 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.1617, allocations: 401.9 kB / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.1626, allocations: 1.055 MB / 0.6425 GB, free: 10.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1626, allocations: 4 kB / 0.6425 GB, free: 10.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1626, allocations: 0 / 0.6425 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1626, allocations: 0 / 0.6425 GB, free: 10.37 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.001714/0.1643, allocations: 1.081 MB / 0.6435 GB, free: 9.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1644, allocations: 8.031 kB / 0.6435 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1645, allocations: 87.94 kB / 0.6436 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.1654, allocations: 0.5689 MB / 0.6442 GB, free: 8.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.1654, allocations: 45.69 kB / 0.6442 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.1655, allocations: 56.38 kB / 0.6443 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1666, allocations: 0.6078 MB / 0.6449 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1666, allocations: 8 kB / 0.6449 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.1667, allocations: 27.94 kB / 0.6449 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.1667, allocations: 12 kB / 0.6449 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.1676, allocations: 461 kB / 0.6454 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.1703, allocations: 1.989 MB / 0.6473 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/0.1712, allocations: 449.8 kB / 0.6477 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.1716, allocations: 234.1 kB / 0.648 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1717, allocations: 4.438 kB / 0.648 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.1722, allocations: 269.2 kB / 0.6482 GB, free: 4.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 2.865e-06/0.1722, allocations: 4 kB / 0.6482 GB, free: 4.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001377/0.1736, allocations: 0.5844 MB / 0.6488 GB, free: 3.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1737, allocations: 59.84 kB / 0.6488 GB, free: 3.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.1742, allocations: 438.1 kB / 0.6493 GB, free: 3.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.1743, allocations: 37.7 kB / 0.6493 GB, free: 3.137 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.1745, allocations: 332.2 kB / 0.6496 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.1747, allocations: 165.6 kB / 0.6498 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1748, allocations: 94.23 kB / 0.6499 GB, free: 2.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.175, allocations: 362.8 kB / 0.6502 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.1754, allocations: 165 kB / 0.6504 GB, free: 2.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.1759, allocations: 253.8 kB / 0.6506 GB, free: 1.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.1767, allocations: 448 kB / 0.651 GB, free: 1.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1767, allocations: 3.938 kB / 0.651 GB, free: 1.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001015/0.1777, allocations: 0.5662 MB / 0.6516 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.1778, allocations: 37.64 kB / 0.6516 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1778, allocations: 0 / 0.6516 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1778, allocations: 4 kB / 0.6516 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.1783, allocations: 116.1 kB / 0.6517 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1783, allocations: 7.938 kB / 0.6518 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1787, allocations: 59.5 kB / 0.6518 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.1787, allocations: 16 kB / 0.6518 GB, free: 456 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.0002532/0.179, allocations: 203.8 kB / 0.652 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.179, allocations: 63.27 kB / 0.6521 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.1792, allocations: 69.58 kB / 0.6521 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1792, allocations: 7.875 kB / 0.6522 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1792, allocations: 3.984 kB / 0.6522 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.1794, allocations: 176.2 kB / 0.6523 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.1795, allocations: 8 kB / 0.6523 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1797, allocations: 27.97 kB / 0.6524 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.1798, allocations: 32.39 kB / 0.6524 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001221/0.1811, allocations: 0.5542 MB / 0.6529 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001355/0.1824, allocations: 0.8453 MB / 0.6538 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003917/0.1828, allocations: 207.4 kB / 0.654 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003413/0.1832, allocations: 310.9 kB / 0.6543 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of Backend: time 8.01e-07/0.1832, allocations: 0 / 0.6543 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.1841, allocations: 414 kB / 0.6546 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002223/0.1864, allocations: 1.694 MB / 0.6563 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.01414/0.2005, allocations: 7.063 MB / 0.6632 GB, free: 4.762 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)