Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.748/1.748, allocations: 288.4 MB / 304.3 MB, free: 8.047 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.001429/0.001429, allocations: 181.2 kB / 372.9 MB, free: 10.18 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.788/1.788, allocations: 205.4 MB / 0.6316 GB, free: 9.938 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.0009252/0.0009251, allocations: 97.41 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004176, allocations: 12.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2608, allocations: 115.3 MB / 0.9808 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.001462/0.2624, allocations: 0.8419 MB / 0.9816 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.2649, allocations: 1.601 MB / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.2652, allocations: 0 / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.584e-05/0.2653, allocations: 19.73 kB / 0.9832 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.2656, allocations: 47.61 kB / 0.9832 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2669, allocations: 362.1 kB / 0.9836 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.2676, allocations: 0.6397 MB / 0.9842 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.2678, allocations: 73.33 kB / 0.9843 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.2684, allocations: 263.4 kB / 0.9845 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.2688, allocations: 283.1 kB / 0.9848 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.269, allocations: 44 kB / 0.9848 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2692, allocations: 59.97 kB / 0.9849 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2694, allocations: 127.6 kB / 0.985 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.2698, allocations: 300.8 kB / 0.9853 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.2703, allocations: 475 kB / 0.9857 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.2703, allocations: 0 / 0.9857 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.388e-06/0.2704, allocations: 0 / 0.9857 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.2704, allocations: 3.938 kB / 0.9857 GB, free: 22.25 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.00194/0.2723, allocations: 0.778 MB / 0.9865 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.2724, allocations: 8.031 kB / 0.9865 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.2727, allocations: 76.47 kB / 0.9866 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009854/0.2737, allocations: 392.5 kB / 0.987 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.2739, allocations: 52.77 kB / 0.987 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.274, allocations: 92.31 kB / 0.9871 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.2747, allocations: 445.8 kB / 0.9875 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2748, allocations: 3.938 kB / 0.9875 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.2748, allocations: 35.89 kB / 0.9876 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2749, allocations: 4 kB / 0.9876 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2752, allocations: 217.2 kB / 0.9878 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.277, allocations: 1.02 MB / 0.9888 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/0.2778, allocations: 0.6147 MB / 0.9894 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.2782, allocations: 307 kB / 0.9897 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2783, allocations: 11.94 kB / 0.9897 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.2793, allocations: 0.7334 MB / 0.9904 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 5.931e-06/0.2793, allocations: 0 / 0.9904 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=102): time 0.002055/0.2814, allocations: 1.492 MB / 0.9918 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2814, allocations: 93.97 kB / 0.9919 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.2817, allocations: 270.3 kB / 0.9922 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.2818, allocations: 77.69 kB / 0.9923 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2819, allocations: 134.2 kB / 0.9924 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.2821, allocations: 217.3 kB / 0.9926 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.2821, allocations: 28 kB / 0.9926 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.2822, allocations: 370.7 kB / 0.993 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.2826, allocations: 222.5 kB / 0.9932 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.2832, allocations: 0.6736 MB / 0.9938 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.2841, allocations: 0.9755 MB / 0.9948 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.2842, allocations: 4 kB / 0.9948 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001504/0.2857, allocations: 1.042 MB / 0.9958 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.2857, allocations: 67.41 kB / 0.9959 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.2858, allocations: 16 kB / 0.9959 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/0.2858, allocations: 20 kB / 0.9959 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.2862, allocations: 131.6 kB / 0.996 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/0.2863, allocations: 31.86 kB / 0.9961 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.287, allocations: 171.6 kB / 0.9962 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.2871, allocations: 71.97 kB / 0.9963 GB, free: 10.71 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.0002819/0.2874, allocations: 265.9 kB / 0.9966 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.2875, allocations: 83.25 kB / 0.9966 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.2876, allocations: 51.61 kB / 0.9967 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2876, allocations: 3.984 kB / 0.9967 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2876, allocations: 4 kB / 0.9967 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.2877, allocations: 124.4 kB / 0.9968 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.2878, allocations: 39.89 kB / 0.9969 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.2881, allocations: 67.92 kB / 0.9969 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.2884, allocations: 88.72 kB / 0.997 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001859/0.2902, allocations: 1.372 MB / 0.9983 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001692/0.2919, allocations: 1.451 MB / 0.9998 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005832/0.2925, allocations: 0.5417 MB / 1 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001312/0.2927, allocations: 162 kB / 1 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of Backend: time 9.31e-07/0.2927, allocations: 3.938 kB / 1 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.2943, allocations: 0.7502 MB / 1.001 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00134/0.2956, allocations: 1.167 MB / 1.002 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of Templates: time 0.01215/0.3078, allocations: 6.541 MB / 1.009 GB, free: 13.88 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.pipe 2>&1)