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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 293 MB / 309 MB, free: 4.82 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.000994/0.0009941, allocations: 175.7 kB / 378.7 MB, free: 1.027 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.731/1.731, allocations: 205.4 MB / 0.6383 GB, free: 9.086 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.0007584/0.0007585, allocations: 100.5 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004364, allocations: 15.98 kB / 0.8768 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.272, allocations: 116.4 MB / 0.9905 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6809/0.953, allocations: 139.8 MB / 1.127 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.9534, allocations: 76.08 kB / 1.127 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.9702, allocations: 6.142 MB / 1.133 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9703, allocations: 0 / 1.133 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.9703, allocations: 8 kB / 1.133 GB, free: 30.06 MB / 0.7292 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.002076/0.9724, allocations: 0.7846 MB / 1.134 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.9725, allocations: 8.031 kB / 1.134 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.9728, allocations: 71.44 kB / 1.134 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.973, allocations: 211.9 kB / 1.134 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.9732, allocations: 53.38 kB / 1.134 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.9735, allocations: 84.75 kB / 1.134 GB, free: 28.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.9747, allocations: 491.4 kB / 1.135 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.9747, allocations: 0.6875 kB / 1.135 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.9748, allocations: 33.02 kB / 1.135 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.9749, allocations: 4 kB / 1.135 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.9755, allocations: 249.8 kB / 1.135 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.9778, allocations: 1.082 MB / 1.136 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.979, allocations: 0.6671 MB / 1.137 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.9797, allocations: 343.2 kB / 1.137 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.9797, allocations: 4 kB / 1.137 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.9813, allocations: 0.7836 MB / 1.138 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=102): time 7.153e-06/0.9813, allocations: 0 / 1.138 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.003036/0.9844, allocations: 1.598 MB / 1.139 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.9845, allocations: 92.8 kB / 1.139 GB, free: 24.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.9849, allocations: 266.7 kB / 1.14 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.985, allocations: 72.42 kB / 1.14 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.9852, allocations: 137.8 kB / 1.14 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.9854, allocations: 215 kB / 1.14 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.9855, allocations: 28 kB / 1.14 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9857, allocations: 369.7 kB / 1.14 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.9863, allocations: 256.8 kB / 1.141 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.9871, allocations: 0.6288 MB / 1.141 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.9883, allocations: 0.9122 MB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.9883, allocations: 4 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.0019/0.9902, allocations: 1.03 MB / 1.143 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.9903, allocations: 78.94 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.9904, allocations: 12.66 kB / 1.143 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.844e-05/0.9904, allocations: 16 kB / 1.143 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.9908, allocations: 126.4 kB / 1.143 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.9909, allocations: 32.03 kB / 1.143 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.9917, allocations: 150.8 kB / 1.144 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.9918, allocations: 62.95 kB / 1.144 GB, free: 20.06 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 () * Number of clocked 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.0005187/0.9924, allocations: 273.8 kB / 1.144 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.9925, allocations: 77.11 kB / 1.144 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.9927, allocations: 49.92 kB / 1.144 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.9927, allocations: 10.3 kB / 1.144 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.9927, allocations: 0 / 1.144 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.9927, allocations: 9.062 kB / 1.144 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/0.9966, allocations: 2.187 MB / 1.146 GB, free: 17.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.9966, allocations: 1.031 kB / 1.146 GB, free: 17.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.9967, allocations: 28.83 kB / 1.146 GB, free: 17.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.9967, allocations: 4 kB / 1.146 GB, free: 17.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.483e-05/0.9968, allocations: 37.5 kB / 1.146 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.9968, allocations: 5.016 kB / 1.146 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9968, allocations: 0 / 1.146 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.9989, allocations: 1.452 MB / 1.148 GB, free: 16.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.9991, allocations: 125 kB / 1.148 GB, free: 16.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.9992, allocations: 38.48 kB / 1.148 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.9996, allocations: 65.91 kB / 1.148 GB, free: 16.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.9999, allocations: 88.53 kB / 1.148 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1, allocations: 79.38 kB / 1.148 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001499/1, allocations: 170.1 kB / 1.148 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/1, allocations: 0 / 1.148 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001023/1.001, allocations: 221 kB / 1.148 GB, free: 15.75 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) * Number of clocked states: 0 () * 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.0003459/1.002, allocations: 194.5 kB / 1.149 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001949/1.004, allocations: 0.9935 MB / 1.15 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.004, allocations: 384 / 1.15 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/1.004, allocations: 0.6369 MB / 1.15 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/1.005, allocations: 91.47 kB / 1.15 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/1.007, allocations: 1.071 MB / 1.151 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/1.007, allocations: 0.8226 MB / 1.152 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002964/1.008, allocations: 75.02 kB / 1.152 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.008, allocations: 53.08 kB / 1.152 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/1.008, allocations: 0 / 1.152 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.01687/1.025, allocations: 7.493 MB / 1.16 GB, free: 7.777 MB / 0.7292 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)