Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5012/0.5012, allocations: 92 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 99.86 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003851, allocations: 8 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5641/0.7248, allocations: 108.5 MB / 0.6748 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.7252, allocations: 87.95 kB / 0.6749 GB, free: 11.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.744, allocations: 6.91 MB / 0.6816 GB, free: 5.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.744, allocations: 0 / 0.6816 GB, free: 5.035 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.953e-05/0.7441, allocations: 15.98 kB / 0.6816 GB, free: 5.02 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001274/0.7454, allocations: 0.6468 MB / 0.6823 GB, free: 4.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7455, allocations: 8.031 kB / 0.6823 GB, free: 4.312 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.7456, allocations: 47.66 kB / 0.6823 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.7464, allocations: 379.4 kB / 0.6827 GB, free: 3.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.7464, allocations: 32.52 kB / 0.6827 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.7465, allocations: 32 kB / 0.6827 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.7473, allocations: 362 kB / 0.6831 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.7473, allocations: 0 / 0.6831 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.7473, allocations: 15.95 kB / 0.6831 GB, free: 3.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7474, allocations: 8 kB / 0.6831 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.748, allocations: 250.1 kB / 0.6833 GB, free: 3.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.7498, allocations: 1.244 MB / 0.6846 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.7505, allocations: 292.5 kB / 0.6848 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.7506, allocations: 192 / 0.6848 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.7506, allocations: 38.75 kB / 0.6849 GB, free: 1.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.7506, allocations: 0 / 0.6849 GB, free: 1.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008077/0.7514, allocations: 348.2 kB / 0.6852 GB, free: 1.129 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.7516, allocations: 166.2 kB / 0.6854 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.752, allocations: 304.9 kB / 0.6856 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.752, allocations: 29.7 kB / 0.6857 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.7522, allocations: 216.3 kB / 0.6859 GB, free: 380 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.7523, allocations: 78.84 kB / 0.686 GB, free: 300 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.7523, allocations: 4 kB / 0.686 GB, free: 296 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7525, allocations: 342.8 kB / 0.6863 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7527, allocations: 91.95 kB / 0.6864 GB, free: 15.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.7529, allocations: 159.7 kB / 0.6865 GB, free: 15.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.7532, allocations: 104.4 kB / 0.6866 GB, free: 15.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7532, allocations: 4 kB / 0.6866 GB, free: 15.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005629/0.7537, allocations: 309.6 kB / 0.6869 GB, free: 15.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7538, allocations: 8 kB / 0.6869 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7538, allocations: 3.938 kB / 0.6869 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7538, allocations: 0 / 0.6869 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.7541, allocations: 60.03 kB / 0.687 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7541, allocations: 4 kB / 0.687 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.7544, allocations: 43.73 kB / 0.687 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.7544, allocations: 7.984 kB / 0.687 GB, free: 15.14 MB / 490.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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002196/0.7546, allocations: 161.8 kB / 0.6872 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.7547, allocations: 43.52 kB / 0.6872 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.7548, allocations: 39.47 kB / 0.6873 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7548, allocations: 0 / 0.6873 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.7548, allocations: 4 kB / 0.6873 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7548, allocations: 0 / 0.6873 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.7553, allocations: 417.2 kB / 0.6877 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7553, allocations: 0 / 0.6877 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.7556, allocations: 47.97 kB / 0.6877 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.7556, allocations: 4 kB / 0.6877 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.7556, allocations: 7.953 kB / 0.6877 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7557, allocations: 0 / 0.6877 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7557, allocations: 0 / 0.6877 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.7565, allocations: 491 kB / 0.6882 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.7566, allocations: 132.7 kB / 0.6883 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.7567, allocations: 4 kB / 0.6883 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.7569, allocations: 39.98 kB / 0.6884 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.757, allocations: 15.97 kB / 0.6884 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.757, allocations: 4 kB / 0.6884 GB, free: 13.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002764/0.7573, allocations: 251.2 kB / 0.6886 GB, free: 13.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7573, allocations: 0 / 0.6886 GB, free: 13.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.7577, allocations: 71.75 kB / 0.6887 GB, free: 13.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001583/0.7579, allocations: 116.6 kB / 0.6888 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004974/0.7584, allocations: 215.8 kB / 0.689 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.7584, allocations: 8.25 kB / 0.689 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.7586, allocations: 118.5 kB / 0.6891 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.7591, allocations: 74.92 kB / 0.6892 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.7607, allocations: 0.8786 MB / 0.6901 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.7611, allocations: 0.8031 MB / 0.6909 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.7612, allocations: 34.97 kB / 0.6909 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.7613, allocations: 27.42 kB / 0.6909 GB, free: 11.04 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.7613, allocations: 0 / 0.6909 GB, free: 11.04 MB / 490.7 MB Notification: Performance of Templates: time 0.00791/0.7693, allocations: 3.311 MB / 0.6941 GB, free: 7.762 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)