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.001112/0.001112, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001239/0.00124, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7733/0.7733, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 66.97 kB / 0.5684 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1717, allocations: 77.93 MB / 0.6445 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005772/0.1775, allocations: 3.11 MB / 0.6476 GB, free: 5.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1801, allocations: 0.9661 MB / 0.6485 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.1809, allocations: 11.94 kB / 0.6485 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.1813, allocations: 75.25 kB / 0.6486 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005411/0.1819, allocations: 91.11 kB / 0.6487 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.1829, allocations: 246.3 kB / 0.6489 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000814/0.1837, allocations: 0.5544 MB / 0.6495 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004846/0.1842, allocations: 251.5 kB / 0.6497 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.1845, allocations: 199.2 kB / 0.6499 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1848, allocations: 210.8 kB / 0.6501 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.1849, allocations: 52 kB / 0.6501 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.185, allocations: 52 kB / 0.6502 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1851, allocations: 111.6 kB / 0.6503 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.1853, allocations: 238.7 kB / 0.6505 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.186, allocations: 0.5874 MB / 0.6511 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.186, allocations: 0 / 0.6511 GB, free: 2.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.186, allocations: 0 / 0.6511 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.186, allocations: 0 / 0.6511 GB, free: 2.285 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.001324/0.1874, allocations: 0.789 MB / 0.6519 GB, free: 1.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.1874, allocations: 12.56 kB / 0.6519 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1876, allocations: 64.56 kB / 0.6519 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.1883, allocations: 416.9 kB / 0.6523 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1883, allocations: 33.38 kB / 0.6524 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.1884, allocations: 36.38 kB / 0.6524 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.1891, allocations: 405.9 kB / 0.6528 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1891, allocations: 0 / 0.6528 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1892, allocations: 16 kB / 0.6528 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1892, allocations: 8 kB / 0.6528 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.1898, allocations: 263.8 kB / 0.6531 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.1917, allocations: 1.305 MB / 0.6543 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.1925, allocations: 323 kB / 0.6547 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.1928, allocations: 141.3 kB / 0.6548 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.1929, allocations: 4 kB / 0.6548 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.1932, allocations: 177.5 kB / 0.655 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/0.1932, allocations: 0 / 0.655 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0008548/0.1941, allocations: 382.8 kB / 0.6553 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.1942, allocations: 89.03 kB / 0.6554 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.1946, allocations: 349.6 kB / 0.6557 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.1946, allocations: 41.7 kB / 0.6558 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1948, allocations: 232.8 kB / 0.656 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.1949, allocations: 111.1 kB / 0.6561 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.195, allocations: 70.06 kB / 0.6562 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1952, allocations: 350.8 kB / 0.6565 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1954, allocations: 100.7 kB / 0.6566 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1957, allocations: 168.4 kB / 0.6568 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.1962, allocations: 263.8 kB / 0.657 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1962, allocations: 3.938 kB / 0.657 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006567/0.1968, allocations: 354.9 kB / 0.6574 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1969, allocations: 4 kB / 0.6574 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1969, allocations: 4 kB / 0.6574 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1969, allocations: 0 / 0.6574 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1972, allocations: 67.91 kB / 0.6574 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.1972, allocations: 7.984 kB / 0.6574 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1974, allocations: 43.66 kB / 0.6575 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1974, allocations: 15.98 kB / 0.6575 GB, free: 11.41 MB / 0.4981 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.0002179/0.1977, allocations: 177.6 kB / 0.6577 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.1977, allocations: 39.77 kB / 0.6577 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1978, allocations: 44.25 kB / 0.6578 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1979, allocations: 4 kB / 0.6578 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1979, allocations: 0 / 0.6578 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1979, allocations: 3.984 kB / 0.6578 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1991, allocations: 0.807 MB / 0.6585 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1991, allocations: 4 kB / 0.6586 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.1994, allocations: 47.97 kB / 0.6586 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1994, allocations: 11.88 kB / 0.6586 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.1995, allocations: 11.97 kB / 0.6586 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.1995, allocations: 8 kB / 0.6586 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1995, allocations: 0 / 0.6586 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.2003, allocations: 0.5171 MB / 0.6591 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.2005, allocations: 140.7 kB / 0.6593 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.2005, allocations: 12 kB / 0.6593 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.2008, allocations: 15.98 kB / 0.6593 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.2008, allocations: 27.95 kB / 0.6593 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2009, allocations: 4 kB / 0.6593 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002603/0.2011, allocations: 251.1 kB / 0.6596 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2011, allocations: 0 / 0.6596 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003949/0.2015, allocations: 83.91 kB / 0.6596 GB, free: 9.109 MB / 0.4981 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.000143/0.2017, allocations: 113.1 kB / 0.6598 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005935/0.2023, allocations: 263.7 kB / 0.66 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2023, allocations: 0 / 0.66 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.2026, allocations: 136.2 kB / 0.6601 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.2031, allocations: 75.02 kB / 0.6602 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.2048, allocations: 0.8234 MB / 0.661 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2053, allocations: 0.8152 MB / 0.6618 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.2055, allocations: 43.27 kB / 0.6618 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.2056, allocations: 27.44 kB / 0.6619 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2056, allocations: 0 / 0.6619 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of Templates: time 0.008787/0.2144, allocations: 3.703 MB / 0.6655 GB, free: 3.09 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)