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.0009333/0.0009332, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4513/0.4513, allocations: 90.81 MB / 104.5 MB, free: 9.805 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.321/1.321, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008782, allocations: 94.11 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.356e-05, allocations: 4 kB / 0.4896 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4152, allocations: 72.3 MB / 0.5602 GB, free: 40.47 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5493, allocations: 108.4 MB / 0.6661 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5496, allocations: 79.95 kB / 0.6661 GB, free: 11.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.5671, allocations: 6.896 MB / 0.6729 GB, free: 4.949 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5671, allocations: 0 / 0.6729 GB, free: 4.949 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.167e-05/0.5672, allocations: 8 kB / 0.6729 GB, free: 4.941 MB / 490.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.001162/0.5684, allocations: 0.5959 MB / 0.6735 GB, free: 4.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.5685, allocations: 15.98 kB / 0.6735 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.5686, allocations: 47.44 kB / 0.6735 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.5693, allocations: 377.3 kB / 0.6739 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.5694, allocations: 24.78 kB / 0.6739 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.5695, allocations: 24 kB / 0.6739 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.5701, allocations: 343.7 kB / 0.6743 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5701, allocations: 4 kB / 0.6743 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.5702, allocations: 11.95 kB / 0.6743 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5702, allocations: 8 kB / 0.6743 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.5706, allocations: 214.2 kB / 0.6745 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.5722, allocations: 1.241 MB / 0.6757 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.5727, allocations: 242.6 kB / 0.6759 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.5728, allocations: 101.3 kB / 0.676 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.5729, allocations: 8.125 kB / 0.676 GB, free: 1.508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5729, allocations: 38.75 kB / 0.6761 GB, free: 1.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.5729, allocations: 0 / 0.6761 GB, free: 1.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004092/0.5733, allocations: 212 kB / 0.6763 GB, free: 1.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.5734, allocations: 162.2 kB / 0.6764 GB, free: 1.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.5738, allocations: 307.5 kB / 0.6767 GB, free: 0.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5738, allocations: 29.7 kB / 0.6768 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.574, allocations: 212.1 kB / 0.677 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.574, allocations: 78.89 kB / 0.677 GB, free: 436 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.5741, allocations: 4 kB / 0.677 GB, free: 432 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5742, allocations: 354.5 kB / 0.6774 GB, free: 72 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.5743, allocations: 68 kB / 0.6774 GB, free: 4 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.5745, allocations: 139.8 kB / 0.6776 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.5747, allocations: 81.62 kB / 0.6777 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5747, allocations: 4 kB / 0.6777 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003999/0.5751, allocations: 253.1 kB / 0.6779 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5751, allocations: 9.094 kB / 0.6779 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5751, allocations: 0 / 0.6779 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5752, allocations: 4 kB / 0.6779 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.5754, allocations: 56.03 kB / 0.678 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5754, allocations: 4 kB / 0.678 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5756, allocations: 51.66 kB / 0.678 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.5757, allocations: 8 kB / 0.678 GB, free: 15.37 MB / 0.4948 GB 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 () * 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 9.422e-05/0.5758, allocations: 124.9 kB / 0.6781 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.5758, allocations: 35.58 kB / 0.6782 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.5759, allocations: 35.25 kB / 0.6782 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5759, allocations: 4 kB / 0.6782 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.576, allocations: 0 / 0.6782 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.576, allocations: 3.984 kB / 0.6782 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004333/0.5764, allocations: 417.1 kB / 0.6786 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5764, allocations: 0 / 0.6786 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5767, allocations: 55.91 kB / 0.6787 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5767, allocations: 0 / 0.6787 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5767, allocations: 11.95 kB / 0.6787 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5767, allocations: 0 / 0.6787 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5767, allocations: 0 / 0.6787 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.5773, allocations: 429.5 kB / 0.6791 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5774, allocations: 132.7 kB / 0.6792 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.5775, allocations: 8 kB / 0.6792 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5777, allocations: 31.98 kB / 0.6793 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.5777, allocations: 23.97 kB / 0.6793 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.5778, allocations: 4 kB / 0.6793 GB, free: 14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002317/0.578, allocations: 238.2 kB / 0.6795 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.578, allocations: 0 / 0.6795 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003017/0.5783, allocations: 75.69 kB / 0.6796 GB, free: 13.69 MB / 0.4948 GB 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) * 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.0001274/0.5784, allocations: 108.8 kB / 0.6797 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.5788, allocations: 192 kB / 0.6799 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5788, allocations: 0 / 0.6799 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.579, allocations: 105.1 kB / 0.68 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.5794, allocations: 65.55 kB / 0.68 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5805, allocations: 0.5027 MB / 0.6805 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.5808, allocations: 0.8031 MB / 0.6813 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000148/0.581, allocations: 41 kB / 0.6813 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.5811, allocations: 27.44 kB / 0.6814 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/0.5811, allocations: 4 kB / 0.6814 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.007123/0.5882, allocations: 3.328 MB / 0.6846 GB, free: 8.543 MB / 0.4948 GB 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)