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.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001134/0.001134, allocations: 174.9 kB / 371.6 MB, free: 3.391 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.619/1.619, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008585/0.0008586, allocations: 87.48 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.829e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9809/1.292, allocations: 139.6 MB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.292, allocations: 65.47 kB / 1.116 GB, free: 44.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01708/1.309, allocations: 6.103 MB / 1.122 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/1.309, allocations: 0 / 1.122 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.31, allocations: 8 kB / 1.122 GB, free: 40.88 MB / 0.7448 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.001281/1.311, allocations: 0.7505 MB / 1.123 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.311, allocations: 8.031 kB / 1.123 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/1.311, allocations: 71.86 kB / 1.123 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.311, allocations: 202 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/1.311, allocations: 54.59 kB / 1.123 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.311, allocations: 83.88 kB / 1.123 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/1.312, allocations: 469.4 kB / 1.124 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.312, allocations: 3.938 kB / 1.124 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/1.312, allocations: 28.3 kB / 1.124 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.312, allocations: 8 kB / 1.124 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/1.313, allocations: 232.8 kB / 1.124 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/1.314, allocations: 1.095 MB / 1.125 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/1.315, allocations: 0.6364 MB / 1.126 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/1.316, allocations: 326.5 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/1.316, allocations: 4.875 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009974/1.317, allocations: 0.7489 MB / 1.127 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=102): time 2.384e-06/1.317, allocations: 0 / 1.127 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=102): time 0.001718/1.318, allocations: 1.219 MB / 1.128 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/1.318, allocations: 100.8 kB / 1.128 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/1.319, allocations: 235.9 kB / 1.128 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/1.319, allocations: 71.61 kB / 1.128 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/1.319, allocations: 139.5 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/1.319, allocations: 213.3 kB / 1.129 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.319, allocations: 27.19 kB / 1.129 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/1.319, allocations: 368.4 kB / 1.129 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/1.32, allocations: 239.8 kB / 1.129 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/1.32, allocations: 0.6042 MB / 1.13 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/1.321, allocations: 361.5 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.321, allocations: 4 kB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001361/1.322, allocations: 0.9947 MB / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.322, allocations: 81.92 kB / 1.131 GB, free: 34.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.322, allocations: 16.94 kB / 1.131 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/1.322, allocations: 20.75 kB / 1.131 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/1.323, allocations: 125 kB / 1.131 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/1.323, allocations: 23.36 kB / 1.131 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/1.323, allocations: 161.4 kB / 1.132 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/1.323, allocations: 63.55 kB / 1.132 GB, free: 33.74 MB / 0.7448 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.0002578/1.324, allocations: 241.8 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/1.324, allocations: 70.28 kB / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.324, allocations: 49.98 kB / 1.132 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.324, allocations: 16.66 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.324, allocations: 1.375 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.324, allocations: 3.328 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/1.327, allocations: 2.146 MB / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.327, allocations: 4 kB / 1.134 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/1.327, allocations: 26.67 kB / 1.134 GB, free: 32.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.327, allocations: 4 kB / 1.134 GB, free: 32.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/1.327, allocations: 43.7 kB / 1.134 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.327, allocations: 4 kB / 1.134 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.327, allocations: 0 / 1.134 GB, free: 32.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/1.328, allocations: 1.425 MB / 1.136 GB, free: 31.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/1.328, allocations: 128.6 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/1.329, allocations: 32.73 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/1.329, allocations: 63.83 kB / 1.136 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/1.329, allocations: 93.58 kB / 1.136 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.329, allocations: 80.31 kB / 1.136 GB, free: 30.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001206/1.329, allocations: 166.1 kB / 1.136 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.329, allocations: 3.938 kB / 1.136 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007815/1.33, allocations: 223.1 kB / 1.136 GB, free: 30.44 MB / 0.7448 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.0002579/1.33, allocations: 192.6 kB / 1.137 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001301/1.332, allocations: 0.9707 MB / 1.137 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.332, allocations: 1.094 kB / 1.137 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006773/1.332, allocations: 0.6192 MB / 1.138 GB, free: 29.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/1.333, allocations: 52.73 kB / 1.138 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/1.334, allocations: 0.786 MB / 1.139 GB, free: 28.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.334, allocations: 0.8394 MB / 1.14 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001819/1.334, allocations: 69.7 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/1.335, allocations: 54.56 kB / 1.14 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.335, allocations: 0 / 1.14 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.0136/1.348, allocations: 7.414 MB / 1.147 GB, free: 23.44 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)