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.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001151, allocations: 118.8 kB / 17.08 MB, free: 6.012 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.001097/0.001097, allocations: 191 kB / 18.01 MB, free: 5.094 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6988/0.6988, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.16 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1583, allocations: 76.18 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004541/0.1629, allocations: 3.123 MB / 0.6358 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1648, allocations: 0.9584 MB / 0.6367 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.1651, allocations: 11.94 kB / 0.6367 GB, free: 324 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1654, allocations: 75.12 kB / 0.6368 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1656, allocations: 103.1 kB / 0.6369 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.1661, allocations: 233.7 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.1667, allocations: 0.5544 MB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.1671, allocations: 255.5 kB / 0.6379 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1673, allocations: 211 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1676, allocations: 203 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.1676, allocations: 52 kB / 0.6383 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1677, allocations: 52 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.1678, allocations: 111.5 kB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.168, allocations: 238.7 kB / 0.6387 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.1686, allocations: 0.5838 MB / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1686, allocations: 0 / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.1687, allocations: 8 kB / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1687, allocations: 3.938 kB / 0.6393 GB, free: 13.65 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001165/0.1699, allocations: 0.7543 MB / 0.64 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1699, allocations: 12.03 kB / 0.64 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.17, allocations: 60.27 kB / 0.6401 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.1707, allocations: 420.6 kB / 0.6405 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.1707, allocations: 29.38 kB / 0.6405 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.1708, allocations: 40.28 kB / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.1714, allocations: 405.9 kB / 0.6409 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1715, allocations: 3.984 kB / 0.641 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1715, allocations: 16 kB / 0.641 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1715, allocations: 11.94 kB / 0.641 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.1721, allocations: 267.8 kB / 0.6412 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.1737, allocations: 1.301 MB / 0.6425 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.1744, allocations: 307.7 kB / 0.6428 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1747, allocations: 138.8 kB / 0.6429 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1747, allocations: 4 kB / 0.6429 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.175, allocations: 185.4 kB / 0.6431 GB, free: 9.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.175, allocations: 0 / 0.6431 GB, free: 9.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008003/0.1759, allocations: 378.6 kB / 0.6435 GB, free: 9.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.1759, allocations: 85.11 kB / 0.6436 GB, free: 9.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1763, allocations: 353.6 kB / 0.6439 GB, free: 8.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1763, allocations: 33.7 kB / 0.6439 GB, free: 8.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1765, allocations: 232.8 kB / 0.6441 GB, free: 8.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.1766, allocations: 114.5 kB / 0.6443 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1767, allocations: 70.08 kB / 0.6443 GB, free: 8.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1769, allocations: 350.8 kB / 0.6447 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1771, allocations: 100.7 kB / 0.6448 GB, free: 7.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1773, allocations: 172.4 kB / 0.6449 GB, free: 7.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1778, allocations: 255.8 kB / 0.6452 GB, free: 7.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1778, allocations: 4 kB / 0.6452 GB, free: 7.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005734/0.1784, allocations: 346.5 kB / 0.6455 GB, free: 6.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1784, allocations: 8 kB / 0.6455 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1784, allocations: 0 / 0.6455 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1784, allocations: 8.188 kB / 0.6455 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.1787, allocations: 67.84 kB / 0.6456 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1787, allocations: 7.984 kB / 0.6456 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1789, allocations: 39.67 kB / 0.6456 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.179, allocations: 19.98 kB / 0.6456 GB, free: 6.824 MB / 494.1 MB 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.0001935/0.1792, allocations: 174.3 kB / 0.6458 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.1792, allocations: 39.52 kB / 0.6458 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.1793, allocations: 48.25 kB / 0.6459 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1793, allocations: 4 kB / 0.6459 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1794, allocations: 0 / 0.6459 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1794, allocations: 0 / 0.6459 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1804, allocations: 0.8119 MB / 0.6467 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1805, allocations: 0 / 0.6467 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1807, allocations: 51.91 kB / 0.6467 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1807, allocations: 4 kB / 0.6467 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1807, allocations: 8 kB / 0.6467 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1808, allocations: 0 / 0.6467 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1808, allocations: 0 / 0.6467 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.1816, allocations: 0.5121 MB / 0.6472 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1817, allocations: 148.5 kB / 0.6474 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.1818, allocations: 12.05 kB / 0.6474 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.182, allocations: 15.98 kB / 0.6474 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.182, allocations: 23.97 kB / 0.6474 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1821, allocations: 12 kB / 0.6474 GB, free: 4.863 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1823, allocations: 239.2 kB / 0.6477 GB, free: 4.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1823, allocations: 0 / 0.6477 GB, free: 4.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1827, allocations: 95.62 kB / 0.6478 GB, free: 4.539 MB / 494.1 MB 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.000132/0.1828, allocations: 111.2 kB / 0.6479 GB, free: 4.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1834, allocations: 260 kB / 0.6481 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1834, allocations: 0 / 0.6481 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1836, allocations: 132.5 kB / 0.6482 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.1842, allocations: 88.2 kB / 0.6483 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1856, allocations: 0.8333 MB / 0.6491 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.186, allocations: 0.8152 MB / 0.6499 GB, free: 2.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1861, allocations: 31.44 kB / 0.65 GB, free: 2.215 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1861, allocations: 0 / 0.65 GB, free: 2.215 MB / 494.1 MB Notification: Performance of Templates: time 0.007431/0.1936, allocations: 4.886 MB / 0.6547 GB, free: 13.34 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)