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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001447, allocations: 108 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 68.23 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2785, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.002796/0.2813, allocations: 1.199 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002331/0.2837, allocations: 1.628 MB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.2838, allocations: 7.938 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.552e-05/0.2839, allocations: 23.62 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2841, allocations: 59.36 kB / 0.7877 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4747/0.7588, allocations: 435.5 kB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001/0.7598, allocations: 0.7556 MB / 0.7888 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.76, allocations: 75.28 kB / 0.7889 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.7604, allocations: 316.5 kB / 0.7892 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.7607, allocations: 326.1 kB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.7608, allocations: 72.72 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.761, allocations: 88.88 kB / 0.7897 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.7611, allocations: 165.8 kB / 0.7898 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.7614, allocations: 309.3 kB / 0.7901 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.7619, allocations: 0.6653 MB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7619, allocations: 0 / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7619, allocations: 0 / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.7619, allocations: 0.5938 kB / 0.7908 GB, free: 46.48 MB / 0.6544 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.001529/0.7635, allocations: 0.8818 MB / 0.7916 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7635, allocations: 7.875 kB / 0.7916 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.7637, allocations: 73.34 kB / 0.7917 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.7644, allocations: 397.2 kB / 0.7921 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.7644, allocations: 50.05 kB / 0.7921 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.7646, allocations: 92.17 kB / 0.7922 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.7652, allocations: 451.6 kB / 0.7926 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7652, allocations: 0 / 0.7926 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.7653, allocations: 26.33 kB / 0.7927 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7653, allocations: 6.938 kB / 0.7927 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.7656, allocations: 220.6 kB / 0.7929 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.7672, allocations: 1.005 MB / 0.7939 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/0.768, allocations: 0.6176 MB / 0.7945 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.7684, allocations: 312.2 kB / 0.7948 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.7684, allocations: 8.219 kB / 0.7948 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.7694, allocations: 0.7363 MB / 0.7955 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=102): time 2.344e-06/0.7695, allocations: 0.5 kB / 0.7955 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.002084/0.7715, allocations: 1.51 MB / 0.797 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7716, allocations: 92.84 kB / 0.7971 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.7719, allocations: 266.8 kB / 0.7973 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.7719, allocations: 73.34 kB / 0.7974 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.772, allocations: 138.2 kB / 0.7975 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.7722, allocations: 213.6 kB / 0.7977 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.7725, allocations: 233.3 kB / 0.7979 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7726, allocations: 368.9 kB / 0.7983 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.7731, allocations: 229 kB / 0.7985 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.7737, allocations: 0.6779 MB / 0.7992 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.7747, allocations: 0.9818 MB / 0.8001 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.7747, allocations: 5.375 kB / 0.8001 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00168/0.7764, allocations: 1.047 MB / 0.8012 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.7764, allocations: 69.64 kB / 0.8012 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.7765, allocations: 14.44 kB / 0.8012 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.176e-05/0.7765, allocations: 22.59 kB / 0.8013 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.7769, allocations: 136.3 kB / 0.8014 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/0.777, allocations: 32.19 kB / 0.8014 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.7777, allocations: 146.3 kB / 0.8016 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7778, allocations: 61.48 kB / 0.8016 GB, free: 42.14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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,$PRE.onDelay0.t_next,$whenCondition50,$PRE.onDelay1.t_next,$whenCondition47,$PRE.onDelay2.t_next,$whenCondition44,$PRE.onDelay4.t_next,$whenCondition41,$PRE.onDelay5.t_next,$whenCondition38,$PRE.onDelay6.t_next,$whenCondition35,$PRE.onDelay3.t_next,$whenCondition32,$PRE.onDelay7.t_next,$whenCondition29,$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,booPul.y,$PRE.booPul.y,onDelay7.y,onDelay7.u,onDelay3.y,onDelay3.u,onDelay6.y,onDelay6.u,onDelay5.y,onDelay5.u,onDelay4.y,onDelay4.u,onDelay2.y,onDelay2.u,onDelay1.y,onDelay1.u,onDelay0.y,onDelay0.u,$whenCondition31,$whenCondition30,$whenCondition34,$whenCondition33,$whenCondition37,$whenCondition36,$whenCondition40,$whenCondition39,$whenCondition43,$whenCondition42,$whenCondition46,$whenCondition45,$whenCondition49,$whenCondition48,$whenCondition52,$whenCondition51,$PRE.onDelay00.t_next,$whenCondition24,$PRE.onDelay11.t_next,$whenCondition21,$PRE.onDelay22.t_next,$whenCondition18,$PRE.onDelay44.t_next,$whenCondition15,$PRE.onDelay55.t_next,$whenCondition12,$PRE.onDelay66.t_next,$whenCondition9,$PRE.onDelay33.t_next,$whenCondition6,$PRE.onDelay77.t_next,$whenCondition3,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,booPul1.y,$PRE.booPul1.y,onDelay77.u,onDelay33.u,onDelay66.u,onDelay55.u,onDelay44.y,onDelay44.u,onDelay22.u,onDelay11.u,onDelay00.y,onDelay00.u,$whenCondition5,$whenCondition4,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition10,$whenCondition14,$whenCondition13,$whenCondition17,$whenCondition16,$whenCondition20,$whenCondition19,$whenCondition23,$whenCondition22,$whenCondition26,$whenCondition25,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003485/0.7782, allocations: 278.1 kB / 0.8019 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.7783, allocations: 75.3 kB / 0.802 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.7784, allocations: 46.91 kB / 0.802 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.7784, allocations: 6.281 kB / 0.802 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7784, allocations: 0.6094 kB / 0.802 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.7785, allocations: 124.9 kB / 0.8021 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7786, allocations: 46.23 kB / 0.8022 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.7789, allocations: 52 kB / 0.8022 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.7791, allocations: 92.14 kB / 0.8023 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001964/0.7811, allocations: 1.362 MB / 0.8036 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001928/0.783, allocations: 1.452 MB / 0.8051 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007718/0.7838, allocations: 0.5456 MB / 0.8056 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001402/0.7839, allocations: 163.1 kB / 0.8057 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/0.7839, allocations: 3.938 kB / 0.8057 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7855, allocations: 0.7554 MB / 0.8065 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001214/0.7868, allocations: 1.087 MB / 0.8075 GB, free: 39 MB / 0.6544 GB Notification: Performance of Templates: time 0.02096/0.8077, allocations: 7.601 MB / 0.815 GB, free: 38.62 MB / 0.6544 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)