Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 115 kB / 16.38 MB, free: 6.02 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.001212/0.001212, allocations: 184.2 kB / 17.31 MB, free: 5.617 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.388/1.388, 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.889/1.889, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001479/0.001479, allocations: 67.25 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003412/0.2704, allocations: 1.429 MB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.2713, allocations: 475.8 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2714, allocations: 4 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.2714, allocations: 7.922 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.2715, allocations: 7.938 kB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.2717, allocations: 23.91 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2718, allocations: 55.78 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.272, allocations: 11.98 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.272, allocations: 23.86 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.2721, allocations: 23.92 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2721, allocations: 0 / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.2722, allocations: 4 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.2722, allocations: 7.984 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.2723, allocations: 23.86 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2724, allocations: 39.89 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2724, allocations: 0 / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2724, allocations: 4 kB / 0.7869 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2724, allocations: 4 kB / 0.7869 GB, free: 1.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000679/0.2731, allocations: 389 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2731, allocations: 8.031 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2732, allocations: 8.844 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2733, allocations: 180.2 kB / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2734, allocations: 384 / 0.7874 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2734, allocations: 16.31 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2735, allocations: 50 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2735, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2735, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2736, allocations: 0 / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.2736, allocations: 23.98 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.428/0.7017, allocations: 264.7 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.7019, allocations: 41.25 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.7019, allocations: 25.56 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.702, allocations: 1.969 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.7022, allocations: 102.8 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.7022, allocations: 0 / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002998/0.7025, allocations: 144.5 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.7026, allocations: 82.45 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.7026, allocations: 108.5 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.7027, allocations: 30.27 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.7027, allocations: 84.64 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.7027, allocations: 24.45 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.7028, allocations: 29.7 kB / 0.7884 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.7028, allocations: 320.6 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/0.7029, allocations: 16.98 kB / 0.7887 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.7029, allocations: 32.78 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.703, allocations: 115.7 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.703, allocations: 0 / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001289/0.7031, allocations: 127.1 kB / 0.789 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.7032, allocations: 35.11 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.7032, allocations: 0 / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7032, allocations: 5.938 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.7033, allocations: 9.188 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7033, allocations: 4.031 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.7034, allocations: 6 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.7034, allocations: 11.19 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 7.345e-05/0.7035, allocations: 145.7 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.7035, allocations: 9.156 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.7035, allocations: 8.031 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7035, allocations: 0.5 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7035, allocations: 2.688 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.7036, allocations: 83.67 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.7036, allocations: 10.03 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.7037, allocations: 6.469 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.7037, allocations: 10.72 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002016/0.7039, allocations: 270.9 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000161/0.7041, allocations: 309.2 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.795e-05/0.7041, allocations: 33.06 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.7042, allocations: 88.75 kB / 0.79 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Backend: time 6.31e-07/0.7042, allocations: 0 / 0.79 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.7045, allocations: 174.3 kB / 0.7902 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004071/0.705, allocations: 0.6321 MB / 0.7908 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.003133/0.7081, allocations: 0.9341 MB / 0.7917 GB, free: 46.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)