Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.347/1.347, allocations: 289.8 MB / 297.1 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000942/0.000942, allocations: 173.3 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.1 MB / 0.6256 GB, free: 7.484 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 89.02 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.624e-06, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 116.3 MB / 0.9726 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5514, allocations: 138.9 MB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.5516, allocations: 71.95 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01706/0.5687, allocations: 5.799 MB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.5688, allocations: 10.25 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001338/0.5701, allocations: 0.7442 MB / 1.115 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5701, allocations: 8.031 kB / 1.115 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.5703, allocations: 71.5 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.5705, allocations: 202.2 kB / 1.115 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.5706, allocations: 31.89 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.5707, allocations: 75.95 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000424/0.5711, allocations: 196.9 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.5719, allocations: 424.8 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5719, allocations: 0 / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.5719, allocations: 19.95 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.572, allocations: 8 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5731, allocations: 0.9124 MB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.574, allocations: 0.5675 MB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.5745, allocations: 292.5 kB / 1.117 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.5745, allocations: 11.98 kB / 1.117 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008487/0.5754, allocations: 0.599 MB / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=102): time 2.405e-06/0.5754, allocations: 0 / 1.118 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.001312/0.5767, allocations: 0.8163 MB / 1.119 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.5767, allocations: 93.98 kB / 1.119 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.5769, allocations: 224.8 kB / 1.119 GB, free: 336 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/0.577, allocations: 49.69 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5772, allocations: 122.2 kB / 1.119 GB, free: 152 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.5773, allocations: 197.4 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.5774, allocations: 9.312 kB / 1.119 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5775, allocations: 366.8 kB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.5779, allocations: 210.6 kB / 1.12 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.5785, allocations: 0.5733 MB / 1.121 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.5792, allocations: 296.4 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.5792, allocations: 4 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001473/0.5807, allocations: 0.8183 MB / 1.122 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5807, allocations: 8 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5807, allocations: 12 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/0.5808, allocations: 20 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.5811, allocations: 132.3 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.5812, allocations: 23.92 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.5819, allocations: 149.2 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.582, allocations: 53.64 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 2 * 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.000213/0.5822, allocations: 214.5 kB / 1.122 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.5823, allocations: 71.33 kB / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.5824, allocations: 39.39 kB / 1.122 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5824, allocations: 16 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5824, allocations: 3.938 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.5824, allocations: 3.984 kB / 1.122 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.5847, allocations: 1.659 MB / 1.124 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5847, allocations: 8 kB / 1.124 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.5848, allocations: 23.86 kB / 1.124 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5848, allocations: 4 kB / 1.124 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.5849, allocations: 27.95 kB / 1.124 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5849, allocations: 7.984 kB / 1.124 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5849, allocations: 1.312 kB / 1.124 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/0.5861, allocations: 1.006 MB / 1.125 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.5862, allocations: 124.4 kB / 1.125 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5863, allocations: 28.7 kB / 1.125 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.5867, allocations: 63.91 kB / 1.125 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5869, allocations: 84.72 kB / 1.125 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.587, allocations: 75.95 kB / 1.125 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001223/0.5871, allocations: 149.2 kB / 1.126 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006638/0.5878, allocations: 191.9 kB / 1.126 GB, free: 9.242 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 102 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay77.u,onDelay66.u,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.y,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay7.u,onDelay6.u,$whenCondition50,$whenCondition51,$whenCondition52,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.y) * Number of discrete states: 16 (onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,onDelay00.t_next,onDelay11.t_next,onDelay22.t_next,onDelay44.t_next,onDelay55.t_next,onDelay66.t_next,onDelay33.t_next,onDelay77.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.0002401/0.588, allocations: 186.9 kB / 1.126 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.5892, allocations: 0.8044 MB / 1.127 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5892, allocations: 0.8438 kB / 1.127 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.5899, allocations: 0.5854 MB / 1.127 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.5902, allocations: 44.86 kB / 1.127 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5916, allocations: 0.7554 MB / 1.128 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.592, allocations: 0.8965 MB / 1.129 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.592, allocations: 0 / 1.129 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.01362/0.6057, allocations: 7.991 MB / 1.137 GB, free: 14.01 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)