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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5212/0.5212, allocations: 90.91 MB / 99.35 MB, free: 2.203 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008605, allocations: 99.88 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.575e-05, allocations: 0 / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5265/0.684, allocations: 108.9 MB / 0.6598 GB, free: 1.441 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.6843, allocations: 87.19 kB / 0.6599 GB, free: 1.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.7021, allocations: 7.453 MB / 0.6672 GB, free: 11.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7022, allocations: 3.938 kB / 0.6672 GB, free: 11.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.668e-05/0.7022, allocations: 16.12 kB / 0.6672 GB, free: 11.21 MB / 474.7 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.001002/0.7032, allocations: 0.635 MB / 0.6678 GB, free: 10.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7033, allocations: 12.03 kB / 0.6679 GB, free: 10.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.7034, allocations: 51.34 kB / 0.6679 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.7039, allocations: 403.8 kB / 0.6683 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.704, allocations: 16 kB / 0.6683 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.704, allocations: 20 kB / 0.6683 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004084/0.7045, allocations: 230 kB / 0.6685 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.705, allocations: 337.2 kB / 0.6689 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.705, allocations: 0 / 0.6689 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.705, allocations: 11.19 kB / 0.6689 GB, free: 9.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.705, allocations: 8 kB / 0.6689 GB, free: 9.672 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.7067, allocations: 1.289 MB / 0.6701 GB, free: 8.562 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.7072, allocations: 300.8 kB / 0.6704 GB, free: 8.371 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.7073, allocations: 117.9 kB / 0.6705 GB, free: 8.301 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.7074, allocations: 4 kB / 0.6705 GB, free: 8.297 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.7077, allocations: 163.3 kB / 0.6707 GB, free: 8.164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.7077, allocations: 4 kB / 0.6707 GB, free: 8.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004258/0.7081, allocations: 249.4 kB / 0.6709 GB, free: 7.973 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.7082, allocations: 143.2 kB / 0.6711 GB, free: 7.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.7085, allocations: 275.6 kB / 0.6713 GB, free: 7.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.7085, allocations: 25.7 kB / 0.6714 GB, free: 7.547 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.7087, allocations: 234.1 kB / 0.6716 GB, free: 7.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.7087, allocations: 92.44 kB / 0.6717 GB, free: 7.293 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.7088, allocations: 0 / 0.6717 GB, free: 7.293 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7089, allocations: 359 kB / 0.672 GB, free: 6.949 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.709, allocations: 87.42 kB / 0.6721 GB, free: 6.902 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.7092, allocations: 157 kB / 0.6723 GB, free: 6.773 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.7094, allocations: 92.42 kB / 0.6723 GB, free: 6.719 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7094, allocations: 0 / 0.6723 GB, free: 6.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004066/0.7098, allocations: 294.8 kB / 0.6726 GB, free: 6.496 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7098, allocations: 4 kB / 0.6726 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7098, allocations: 0 / 0.6726 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7098, allocations: 4 kB / 0.6726 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.7101, allocations: 71.28 kB / 0.6727 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.7101, allocations: 4.125 kB / 0.6727 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.7104, allocations: 47.66 kB / 0.6728 GB, free: 6.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.7104, allocations: 11 kB / 0.6728 GB, free: 6.363 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7105, allocations: 117.1 kB / 0.6729 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.7106, allocations: 43.53 kB / 0.6729 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.7106, allocations: 45.61 kB / 0.673 GB, free: 6.176 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7107, allocations: 7.938 kB / 0.673 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7107, allocations: 0 / 0.673 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7107, allocations: 0 / 0.673 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.7115, allocations: 0.7472 MB / 0.6737 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.7115, allocations: 3.984 kB / 0.6737 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.7118, allocations: 59.84 kB / 0.6738 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.7118, allocations: 4 kB / 0.6738 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.7118, allocations: 11.55 kB / 0.6738 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7118, allocations: 0 / 0.6738 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7118, allocations: 0 / 0.6738 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.7124, allocations: 490.8 kB / 0.6742 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.7126, allocations: 137.9 kB / 0.6744 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.7126, allocations: 4 kB / 0.6744 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.7129, allocations: 28.03 kB / 0.6744 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.7129, allocations: 23.34 kB / 0.6744 GB, free: 4.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.713, allocations: 11.55 kB / 0.6744 GB, free: 4.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.7132, allocations: 214.4 kB / 0.6746 GB, free: 4.754 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7132, allocations: 0 / 0.6746 GB, free: 4.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.7135, allocations: 83.69 kB / 0.6747 GB, free: 4.672 MB / 474.7 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001361/0.7136, allocations: 103.2 kB / 0.6748 GB, free: 4.559 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.714, allocations: 234.4 kB / 0.675 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.714, allocations: 0 / 0.675 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.7142, allocations: 122.4 kB / 0.6752 GB, free: 4.324 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.7147, allocations: 70.09 kB / 0.6752 GB, free: 4.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.7157, allocations: 0.561 MB / 0.6758 GB, free: 3.754 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.7161, allocations: 0.8269 MB / 0.6766 GB, free: 2.902 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.7163, allocations: 47.25 kB / 0.6766 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.7163, allocations: 27.44 kB / 0.6766 GB, free: 2.828 MB / 474.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7163, allocations: 0 / 0.6766 GB, free: 2.828 MB / 474.7 MB Notification: Performance of Templates: time 0.006741/0.7231, allocations: 3.368 MB / 0.6799 GB, free: 15.5 MB / 490.7 MB 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)