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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.0009839/0.0009838, allocations: 188.8 kB / 366.7 MB, free: 1.633 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.822/1.822, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008692/0.0008692, allocations: 88.64 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.997e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7036, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.8988, allocations: 138.9 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.8991, allocations: 76.83 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0186/0.9177, allocations: 6.067 MB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9178, allocations: 2.438 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.9178, allocations: 8 kB / 1.115 GB, free: 5.168 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.001789/0.9196, allocations: 0.7418 MB / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9196, allocations: 8.031 kB / 1.116 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.9199, allocations: 71.5 kB / 1.116 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.9202, allocations: 212.8 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.9203, allocations: 27.95 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.9205, allocations: 75.95 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004795/0.9209, allocations: 196.9 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.9217, allocations: 424.8 kB / 1.117 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9218, allocations: 0 / 1.117 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.9218, allocations: 27.94 kB / 1.117 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9218, allocations: 4 kB / 1.117 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.9238, allocations: 1.023 MB / 1.118 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.9247, allocations: 0.5753 MB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.9252, allocations: 288.5 kB / 1.119 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.9252, allocations: 4 kB / 1.119 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.9264, allocations: 0.7115 MB / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=102): time 4.578e-06/0.9265, allocations: 0 / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.002019/0.9285, allocations: 1.119 MB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/0.9286, allocations: 93.92 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.9289, allocations: 229.8 kB / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.903e-05/0.929, allocations: 45.64 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.9291, allocations: 138.2 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.9294, allocations: 193.6 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.9295, allocations: 8 kB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.9296, allocations: 376.6 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.9301, allocations: 206.6 kB / 1.122 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.9308, allocations: 0.5694 MB / 1.122 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.9316, allocations: 292.5 kB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.9317, allocations: 4 kB / 1.122 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001789/0.9335, allocations: 0.8355 MB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.9336, allocations: 67.41 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.9336, allocations: 12 kB / 1.123 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.972e-05/0.9336, allocations: 27.98 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.9341, allocations: 123.6 kB / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.9341, allocations: 31.48 kB / 1.123 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.9349, allocations: 135.7 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9351, allocations: 56 kB / 1.124 GB, free: 11.86 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.0003051/0.9354, allocations: 213 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9355, allocations: 71.42 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.9356, allocations: 39.39 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.9356, allocations: 12 kB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.9357, allocations: 0 / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.9357, allocations: 3.984 kB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.9389, allocations: 1.988 MB / 1.126 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9389, allocations: 1.781 kB / 1.126 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.939, allocations: 31.86 kB / 1.126 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.939, allocations: 4 kB / 1.126 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.939, allocations: 27.94 kB / 1.126 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.9391, allocations: 4 kB / 1.126 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9391, allocations: 0 / 1.126 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.9409, allocations: 1.328 MB / 1.127 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.941, allocations: 136.3 kB / 1.127 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9411, allocations: 27.95 kB / 1.127 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.9415, allocations: 47.92 kB / 1.127 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.9417, allocations: 96.72 kB / 1.128 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.9419, allocations: 83.94 kB / 1.128 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001329/0.942, allocations: 149.9 kB / 1.128 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.942, allocations: 0 / 1.128 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008352/0.9428, allocations: 192 kB / 1.128 GB, free: 7.32 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.0003217/0.9432, allocations: 179 kB / 1.128 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.9446, allocations: 0.8758 MB / 1.129 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9446, allocations: 0 / 1.129 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/0.9454, allocations: 0.5695 MB / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.9458, allocations: 51.69 kB / 1.13 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.9472, allocations: 0.7189 MB / 1.13 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.9477, allocations: 0.8389 MB / 1.131 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.9479, allocations: 72.91 kB / 1.131 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.9481, allocations: 51.44 kB / 1.131 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.9481, allocations: 4 kB / 1.131 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of Templates: time 0.01392/0.962, allocations: 7.035 MB / 1.138 GB, free: 12.95 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)