Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 70.19 kB / 20.51 MB, free: 1.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 160.9 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9141/0.9141, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 73.5 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1561, allocations: 89.14 MB / 0.6421 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004907/0.161, allocations: 2.935 MB / 0.6449 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1631, allocations: 0.9934 MB / 0.6459 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.1634, allocations: 19.88 kB / 0.6459 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1637, allocations: 67.2 kB / 0.646 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.164, allocations: 103.1 kB / 0.6461 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.1647, allocations: 254.1 kB / 0.6463 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.1654, allocations: 0.5544 MB / 0.6469 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.1657, allocations: 171.8 kB / 0.647 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.1661, allocations: 219.1 kB / 0.6472 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1664, allocations: 190.9 kB / 0.6474 GB, free: 4.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.364e-05/0.1665, allocations: 55.94 kB / 0.6475 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1666, allocations: 52 kB / 0.6475 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1667, allocations: 115.6 kB / 0.6476 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1669, allocations: 187 kB / 0.6478 GB, free: 3.648 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.1677, allocations: 0.599 MB / 0.6484 GB, free: 3.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1677, allocations: 0 / 0.6484 GB, free: 3.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1677, allocations: 0 / 0.6484 GB, free: 3.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.1677, allocations: 0 / 0.6484 GB, free: 3.047 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001348/0.1691, allocations: 0.7098 MB / 0.6491 GB, free: 2.309 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.1691, allocations: 8.031 kB / 0.6491 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.1693, allocations: 72.55 kB / 0.6492 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.1701, allocations: 365.6 kB / 0.6495 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1701, allocations: 33.38 kB / 0.6495 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.1702, allocations: 36.38 kB / 0.6496 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1709, allocations: 453.3 kB / 0.65 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1709, allocations: 0 / 0.65 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1709, allocations: 16 kB / 0.65 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.171, allocations: 12 kB / 0.65 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006017/0.1716, allocations: 259.8 kB / 0.6503 GB, free: 1.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1733, allocations: 1.065 MB / 0.6513 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.174, allocations: 290.6 kB / 0.6516 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.1743, allocations: 124.8 kB / 0.6517 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1743, allocations: 4 kB / 0.6517 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.1746, allocations: 177.4 kB / 0.6519 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.1746, allocations: 8 kB / 0.6519 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008574/0.1755, allocations: 382.8 kB / 0.6523 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1755, allocations: 93.03 kB / 0.6524 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.176, allocations: 341.6 kB / 0.6527 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.176, allocations: 33.7 kB / 0.6527 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1762, allocations: 241.2 kB / 0.6529 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.1763, allocations: 107.1 kB / 0.6531 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1764, allocations: 74.06 kB / 0.6531 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1766, allocations: 350.8 kB / 0.6535 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1768, allocations: 100.7 kB / 0.6536 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.1771, allocations: 194.3 kB / 0.6537 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.1776, allocations: 259.8 kB / 0.654 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1776, allocations: 0 / 0.654 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006614/0.1783, allocations: 350.7 kB / 0.6543 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1783, allocations: 8 kB / 0.6543 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1783, allocations: 4 kB / 0.6543 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1783, allocations: 8.125 kB / 0.6543 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.1786, allocations: 67.91 kB / 0.6544 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1786, allocations: 11.92 kB / 0.6544 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1788, allocations: 31.83 kB / 0.6544 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1789, allocations: 19.98 kB / 0.6545 GB, free: 12.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002018/0.1791, allocations: 174.9 kB / 0.6546 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1791, allocations: 39.7 kB / 0.6547 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.1792, allocations: 48.11 kB / 0.6547 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1792, allocations: 4 kB / 0.6547 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1792, allocations: 4 kB / 0.6547 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.1792, allocations: 3.984 kB / 0.6547 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1804, allocations: 0.6791 MB / 0.6554 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1804, allocations: 0 / 0.6554 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.1806, allocations: 51.91 kB / 0.6554 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1806, allocations: 4 kB / 0.6554 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.1807, allocations: 7.984 kB / 0.6555 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1807, allocations: 4 kB / 0.6555 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1807, allocations: 4 kB / 0.6555 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.1816, allocations: 0.5167 MB / 0.656 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1817, allocations: 63.66 kB / 0.656 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.1817, allocations: 8 kB / 0.656 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.1819, allocations: 15.98 kB / 0.656 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.182, allocations: 27.89 kB / 0.6561 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.182, allocations: 11.98 kB / 0.6561 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002655/0.1823, allocations: 239.2 kB / 0.6563 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1823, allocations: 0 / 0.6563 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003556/0.1826, allocations: 87.78 kB / 0.6564 GB, free: 10.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001133/0.1828, allocations: 103.2 kB / 0.6565 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.1833, allocations: 252 kB / 0.6567 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1833, allocations: 384 / 0.6567 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.1836, allocations: 127.9 kB / 0.6569 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.1841, allocations: 92.34 kB / 0.6569 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1856, allocations: 0.8168 MB / 0.6577 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1858, allocations: 215.8 kB / 0.6579 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.186, allocations: 39.27 kB / 0.658 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.1861, allocations: 36.48 kB / 0.658 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.1861, allocations: 0 / 0.658 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of Templates: time 0.008682/0.1948, allocations: 3.717 MB / 0.6617 GB, free: 5.148 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.332486230996437] Failed to read output from testmodel.py, exit status != 0: 0.2038187999278307 0.218178647 0.047366223000000006 Calling exit ...