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.001238/0.001238, allocations: 115.5 kB / 17.08 MB, free: 6.016 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.001211/0.001211, allocations: 196.7 kB / 18.02 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.333/1.333, 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.727/0.727, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.53 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00478/0.1696, allocations: 3.137 MB / 0.6358 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1717, allocations: 0.9584 MB / 0.6367 GB, free: 336 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.1723, allocations: 15.94 kB / 0.6367 GB, free: 320 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1727, allocations: 71.2 kB / 0.6368 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.1732, allocations: 95.09 kB / 0.6369 GB, free: 152 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.1739, allocations: 242.2 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007505/0.1747, allocations: 0.5582 MB / 0.6376 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.1752, allocations: 247.5 kB / 0.6379 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.1756, allocations: 211.1 kB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1759, allocations: 202.9 kB / 0.6383 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.1761, allocations: 52 kB / 0.6383 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1762, allocations: 52 kB / 0.6384 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1763, allocations: 115.6 kB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1765, allocations: 238.7 kB / 0.6387 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.1772, allocations: 0.5915 MB / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1772, allocations: 0 / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1772, allocations: 0 / 0.6393 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.1772, allocations: 0 / 0.6393 GB, free: 13.66 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.001479/0.1787, allocations: 0.766 MB / 0.64 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1788, allocations: 8.031 kB / 0.64 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.179, allocations: 56.28 kB / 0.6401 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/0.1799, allocations: 420.7 kB / 0.6405 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1799, allocations: 29.38 kB / 0.6405 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.18, allocations: 40.28 kB / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.1807, allocations: 401.9 kB / 0.641 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1808, allocations: 0 / 0.641 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.1808, allocations: 20 kB / 0.641 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1808, allocations: 12 kB / 0.641 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.1814, allocations: 263.8 kB / 0.6412 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1833, allocations: 1.301 MB / 0.6425 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.184, allocations: 309.2 kB / 0.6428 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.1843, allocations: 144.7 kB / 0.6429 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1843, allocations: 8 kB / 0.6429 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.1847, allocations: 177.4 kB / 0.6431 GB, free: 9.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 4.93e-06/0.1847, allocations: 3.984 kB / 0.6431 GB, free: 9.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008079/0.1855, allocations: 378.7 kB / 0.6435 GB, free: 9.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1856, allocations: 81.11 kB / 0.6436 GB, free: 9.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.186, allocations: 353.6 kB / 0.6439 GB, free: 8.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.186, allocations: 33.7 kB / 0.6439 GB, free: 8.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1862, allocations: 244.8 kB / 0.6442 GB, free: 8.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.1863, allocations: 102.5 kB / 0.6443 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1864, allocations: 74 kB / 0.6443 GB, free: 8.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1866, allocations: 350.8 kB / 0.6447 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.1868, allocations: 96.7 kB / 0.6448 GB, free: 7.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.187, allocations: 172.4 kB / 0.6449 GB, free: 7.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.1875, allocations: 255.8 kB / 0.6452 GB, free: 7.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1875, allocations: 0 / 0.6452 GB, free: 7.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006275/0.1882, allocations: 362.4 kB / 0.6455 GB, free: 6.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1882, allocations: 4 kB / 0.6455 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1882, allocations: 4 kB / 0.6455 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1882, allocations: 4 kB / 0.6455 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1885, allocations: 59.91 kB / 0.6456 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.1885, allocations: 8 kB / 0.6456 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1887, allocations: 39.67 kB / 0.6456 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1888, allocations: 8 kB / 0.6456 GB, free: 6.84 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.0001878/0.189, allocations: 190.4 kB / 0.6458 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.189, allocations: 39.47 kB / 0.6458 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.1891, allocations: 40.25 kB / 0.6459 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1891, allocations: 4 kB / 0.6459 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1892, allocations: 0 / 0.6459 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1892, allocations: 7.984 kB / 0.6459 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1903, allocations: 0.8158 MB / 0.6467 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1903, allocations: 0 / 0.6467 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1906, allocations: 43.97 kB / 0.6467 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1906, allocations: 0 / 0.6467 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1906, allocations: 8 kB / 0.6467 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1906, allocations: 0 / 0.6467 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1906, allocations: 3.938 kB / 0.6467 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.1915, allocations: 0.516 MB / 0.6473 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1916, allocations: 144.6 kB / 0.6474 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.1917, allocations: 4 kB / 0.6474 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1919, allocations: 15.98 kB / 0.6474 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.192, allocations: 23.97 kB / 0.6474 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.192, allocations: 15.98 kB / 0.6474 GB, free: 4.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1922, allocations: 239.2 kB / 0.6477 GB, free: 4.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1922, allocations: 4 kB / 0.6477 GB, free: 4.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.1926, allocations: 87.62 kB / 0.6478 GB, free: 4.551 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.0001378/0.1928, allocations: 113.6 kB / 0.6479 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000554/0.1933, allocations: 260 kB / 0.6481 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1933, allocations: 384 / 0.6481 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.1936, allocations: 140.4 kB / 0.6483 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.1941, allocations: 92.88 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.001566/0.1957, allocations: 0.8275 MB / 0.6491 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1961, allocations: 0.8113 MB / 0.6499 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1962, allocations: 31.44 kB / 0.65 GB, free: 2.223 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1962, allocations: 0 / 0.65 GB, free: 2.223 MB / 494.1 MB Notification: Performance of Templates: time 0.008531/0.2048, allocations: 4.955 MB / 0.6548 GB, free: 13.28 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)