Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009486/0.0009485, allocations: 175.1 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007575/0.0007573, allocations: 86.81 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 16.41 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.406, allocations: 132.3 MB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4063, allocations: 79.88 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.4199, allocations: 4.385 MB / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.985e-06/0.42, allocations: 0 / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.142e-05/0.42, allocations: 8 kB / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0019/0.4219, allocations: 0.7391 MB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.422, allocations: 12.03 kB / 1.036 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4221, allocations: 60.55 kB / 1.036 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.4223, allocations: 215.8 kB / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.4224, allocations: 44.89 kB / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4225, allocations: 76.33 kB / 1.036 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.4233, allocations: 495.6 kB / 1.036 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4233, allocations: 4.125 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.862e-05/0.4234, allocations: 35.89 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4234, allocations: 4 kB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.4239, allocations: 253.2 kB / 1.037 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.426, allocations: 1.13 MB / 1.038 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.4271, allocations: 0.6812 MB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.4277, allocations: 337.5 kB / 1.039 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4277, allocations: 4.875 kB / 1.039 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.4289, allocations: 0.7568 MB / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 2.815e-06/0.4289, allocations: 0 / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.002656/0.4316, allocations: 1.57 MB / 1.041 GB, free: 176 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.4316, allocations: 105.8 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.432, allocations: 262.3 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.432, allocations: 65.7 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4322, allocations: 146 kB / 1.042 GB, free: 15.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4323, allocations: 205.5 kB / 1.042 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.4324, allocations: 24 kB / 1.042 GB, free: 15.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4325, allocations: 366.7 kB / 1.042 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.433, allocations: 210.5 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007082/0.4337, allocations: 0.5663 MB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.4349, allocations: 0.7961 MB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4349, allocations: 4 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001485/0.4364, allocations: 0.8483 MB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4364, allocations: 12 kB / 1.045 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.4365, allocations: 8 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/0.4365, allocations: 20 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4369, allocations: 131.6 kB / 1.045 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-05/0.437, allocations: 27.92 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.4374, allocations: 99.81 kB / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.4375, allocations: 48 kB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($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,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,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.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,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.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003915/0.4379, allocations: 265.8 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.438, allocations: 71.36 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/0.4381, allocations: 55.61 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4381, allocations: 8 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.4382, allocations: 0 / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.4382, allocations: 11.97 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.4416, allocations: 2.291 MB / 1.047 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4416, allocations: 4 kB / 1.047 GB, free: 9.082 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.4417, allocations: 23.86 kB / 1.047 GB, free: 9.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.4417, allocations: 4 kB / 1.047 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.4418, allocations: 35.95 kB / 1.048 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4418, allocations: 4 kB / 1.048 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4418, allocations: 3.984 kB / 1.048 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.4439, allocations: 1.428 MB / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.444, allocations: 120.5 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.4441, allocations: 35.95 kB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.4445, allocations: 75.91 kB / 1.049 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.4447, allocations: 108.6 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/0.4448, allocations: 79.89 kB / 1.049 GB, free: 7.141 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001672/0.445, allocations: 169.9 kB / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.445, allocations: 0 / 1.049 GB, free: 6.973 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007419/0.4457, allocations: 200 kB / 1.05 GB, free: 6.777 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,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.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$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.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * 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.0002511/0.446, allocations: 175.1 kB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.4474, allocations: 0.797 MB / 1.051 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4474, allocations: 0 / 1.051 GB, free: 5.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.4484, allocations: 0.614 MB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.4489, allocations: 86.86 kB / 1.051 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.451, allocations: 1.098 MB / 1.052 GB, free: 3.973 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.4515, allocations: 0.8271 MB / 1.053 GB, free: 3.121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.4517, allocations: 72.91 kB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4519, allocations: 55.42 kB / 1.053 GB, free: 2.996 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/0.4519, allocations: 0 / 1.053 GB, free: 2.996 MB / 0.698 GB Notification: Performance of Templates: time 0.3982/0.8501, allocations: 6.538 MB / 1.06 GB, free: 148.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)