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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 191.2 kB / 7.806 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4421/0.4421, allocations: 90.86 MB / 99.08 MB, free: 14.92 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.269/1.269, allocations: 221.4 MB / 342.8 MB, free: 5.414 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.001108/0.001108, allocations: 100.9 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.845e-06, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4103, allocations: 72.31 MB / 0.5529 GB, free: 73.51 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.5469, allocations: 108.8 MB / 0.6591 GB, free: 1.203 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5473, allocations: 87.89 kB / 0.6592 GB, free: 1.117 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.02019/0.5675, allocations: 7.178 MB / 0.6662 GB, free: 9.992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.682e-05/0.5677, allocations: 12.19 kB / 0.6662 GB, free: 9.98 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001433/0.5691, allocations: 0.6482 MB / 0.6669 GB, free: 9.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.738e-05/0.5692, allocations: 8.031 kB / 0.6669 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5694, allocations: 57.22 kB / 0.6669 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.5702, allocations: 403.2 kB / 0.6673 GB, free: 8.789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.5703, allocations: 12 kB / 0.6673 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.5704, allocations: 28 kB / 0.6674 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006137/0.571, allocations: 229.5 kB / 0.6676 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.5718, allocations: 337.7 kB / 0.6679 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.5718, allocations: 0 / 0.6679 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.5719, allocations: 0 / 0.6679 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5719, allocations: 16 kB / 0.6679 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.5742, allocations: 1.287 MB / 0.6692 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.5747, allocations: 205.8 kB / 0.6694 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.5749, allocations: 117.1 kB / 0.6695 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.575, allocations: 7.844 kB / 0.6695 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.5753, allocations: 157.3 kB / 0.6696 GB, free: 6.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.5753, allocations: 0 / 0.6696 GB, free: 6.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004992/0.5758, allocations: 251 kB / 0.6699 GB, free: 6.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.5759, allocations: 140.5 kB / 0.67 GB, free: 5.887 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.5762, allocations: 278 kB / 0.6703 GB, free: 5.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.5762, allocations: 33.7 kB / 0.6703 GB, free: 5.566 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5764, allocations: 184.4 kB / 0.6705 GB, free: 5.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.5765, allocations: 97.52 kB / 0.6706 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.5765, allocations: 0 / 0.6706 GB, free: 5.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5767, allocations: 346.8 kB / 0.6709 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5768, allocations: 84 kB / 0.671 GB, free: 4.859 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.577, allocations: 159.9 kB / 0.6711 GB, free: 4.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5772, allocations: 93.55 kB / 0.6712 GB, free: 4.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5772, allocations: 4 kB / 0.6712 GB, free: 4.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000503/0.5777, allocations: 298.2 kB / 0.6715 GB, free: 4.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5778, allocations: 8 kB / 0.6715 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5778, allocations: 0 / 0.6715 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5778, allocations: 4 kB / 0.6715 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.5781, allocations: 67.89 kB / 0.6716 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5781, allocations: 3.938 kB / 0.6716 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.5784, allocations: 43.86 kB / 0.6716 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.5784, allocations: 12 kB / 0.6717 GB, free: 4.152 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: 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.000126/0.5785, allocations: 132.8 kB / 0.6718 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.5786, allocations: 38.03 kB / 0.6718 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.581e-05/0.5787, allocations: 36.06 kB / 0.6719 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5787, allocations: 4 kB / 0.6719 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5787, allocations: 0 / 0.6719 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5787, allocations: 0 / 0.6719 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.5796, allocations: 0.7445 MB / 0.6726 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5796, allocations: 0 / 0.6726 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.5799, allocations: 51.97 kB / 0.6726 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.5799, allocations: 4 kB / 0.6726 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.58, allocations: 2.812 kB / 0.6726 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.58, allocations: 0 / 0.6726 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.58, allocations: 3.938 kB / 0.6726 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007484/0.5808, allocations: 499.2 kB / 0.6731 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5809, allocations: 140.7 kB / 0.6733 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.581, allocations: 7.906 kB / 0.6733 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.5812, allocations: 23.97 kB / 0.6733 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/0.5813, allocations: 31.95 kB / 0.6733 GB, free: 2.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.5813, allocations: 8 kB / 0.6733 GB, free: 2.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0002058/0.5815, allocations: 212.6 kB / 0.6735 GB, free: 2.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.5819, allocations: 75.69 kB / 0.6736 GB, free: 2.086 MB / 490.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.0001485/0.5821, allocations: 103.2 kB / 0.6737 GB, free: 1.977 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.5825, allocations: 244 kB / 0.6739 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5825, allocations: 4.25 kB / 0.6739 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.5827, allocations: 123.9 kB / 0.674 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.5831, allocations: 62.48 kB / 0.6741 GB, free: 1.559 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5845, allocations: 0.5535 MB / 0.6746 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.585, allocations: 0.8499 MB / 0.6755 GB, free: 104 kB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.585, allocations: 0 / 0.6755 GB, free: 104 kB / 490.7 MB Notification: Performance of Templates: time 0.008363/0.5934, allocations: 3.849 MB / 0.6792 GB, free: 12.35 MB / 0.4948 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)