Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.809/1.809, allocations: 287.4 MB / 303.2 MB, free: 8.219 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.001217/0.001218, allocations: 188.3 kB / 371.8 MB, free: 10.81 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.815/1.815, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007859, allocations: 104.3 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005512/0.0005513, allocations: 12.64 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2571, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.0009081/0.2581, allocations: 0.837 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2595, allocations: 1.605 MB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.2596, allocations: 4 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.2596, allocations: 15.8 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2597, allocations: 47.56 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.2604, allocations: 365.5 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.2608, allocations: 0.6397 MB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2609, allocations: 73.34 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.2611, allocations: 267.4 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.2613, allocations: 283.1 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.2614, allocations: 40 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.2615, allocations: 51.98 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.2616, allocations: 127.6 kB / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2617, allocations: 133.5 kB / 0.9837 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.262, allocations: 487 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.262, allocations: 0 / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.262, allocations: 0 / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.262, allocations: 0 / 0.9841 GB, free: 23.21 MB / 0.6198 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.001142/0.2632, allocations: 0.7704 MB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2632, allocations: 16.03 kB / 0.9849 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2633, allocations: 72.47 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.264, allocations: 398.5 kB / 0.9853 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.2641, allocations: 52.77 kB / 0.9854 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.2642, allocations: 88.31 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.2647, allocations: 449.8 kB / 0.9859 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2648, allocations: 0 / 0.9859 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.2648, allocations: 27.95 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2648, allocations: 4 kB / 0.9859 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.2652, allocations: 221.2 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.2666, allocations: 1.028 MB / 0.9871 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.2674, allocations: 0.6037 MB / 0.9877 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.2678, allocations: 314.4 kB / 0.988 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2678, allocations: 7.938 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009422/0.2688, allocations: 0.7334 MB / 0.9888 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 2.395e-06/0.2688, allocations: 0 / 0.9888 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=102): time 0.001957/0.2708, allocations: 1.492 MB / 0.9902 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.2708, allocations: 97.97 kB / 0.9903 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.2711, allocations: 270.2 kB / 0.9906 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/0.2712, allocations: 69.69 kB / 0.9906 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.2713, allocations: 146.2 kB / 0.9908 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.2715, allocations: 213.3 kB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.2715, allocations: 28 kB / 0.991 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2717, allocations: 370.7 kB / 0.9914 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.272, allocations: 226.5 kB / 0.9916 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.2726, allocations: 0.6698 MB / 0.9922 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.2734, allocations: 0.9831 MB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.2735, allocations: 4 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00136/0.2748, allocations: 1.032 MB / 0.9942 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.2749, allocations: 75.41 kB / 0.9943 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.2749, allocations: 16 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.275, allocations: 20 kB / 0.9943 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2754, allocations: 131.6 kB / 0.9944 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.094e-05/0.2754, allocations: 31.86 kB / 0.9945 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.2761, allocations: 167.3 kB / 0.9946 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/0.2761, allocations: 63.98 kB / 0.9947 GB, free: 11.68 MB / 0.6198 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,$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,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,onDelay00.u,onDelay00.y,onDelay11.u,onDelay22.u,onDelay44.u,onDelay44.y,onDelay55.u,onDelay66.u,onDelay33.u,onDelay77.u,$PRE.booPul1.y,booPul1.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.2765, allocations: 273.8 kB / 0.9949 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.2765, allocations: 83.25 kB / 0.995 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.2766, allocations: 55.61 kB / 0.9951 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2767, allocations: 3.984 kB / 0.9951 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2767, allocations: 0 / 0.9951 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.2767, allocations: 128.4 kB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.751e-05/0.2768, allocations: 47.89 kB / 0.9952 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2771, allocations: 55.92 kB / 0.9953 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.2772, allocations: 96.72 kB / 0.9954 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001442/0.2787, allocations: 1.376 MB / 0.9967 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001453/0.2801, allocations: 1.447 MB / 0.9981 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005244/0.2807, allocations: 0.5417 MB / 0.9987 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2808, allocations: 158 kB / 0.9988 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.2808, allocations: 4 kB / 0.9988 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.2821, allocations: 0.7562 MB / 0.9996 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001048/0.2832, allocations: 1.168 MB / 1.001 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of Templates: time 0.01148/0.2947, allocations: 6.498 MB / 1.007 GB, free: 14.88 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)