Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 288.4 MB / 303.7 MB, free: 8.137 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.001071/0.001071, allocations: 178.7 kB / 372.3 MB, free: 10.12 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.676/1.676, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0008317/0.0008318, allocations: 102.3 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004066, allocations: 15.28 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00191/0.2598, allocations: 1.133 MB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008803/0.2607, allocations: 456.8 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.2608, allocations: 4 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.2609, allocations: 3.938 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.261, allocations: 7.922 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2612, allocations: 12 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.2613, allocations: 47.83 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2614, allocations: 4 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.2615, allocations: 23.86 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.2616, allocations: 19.92 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2616, allocations: 0 / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2616, allocations: 4 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.2617, allocations: 0 / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.2617, allocations: 45.62 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.2618, allocations: 24.22 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2619, allocations: 11.94 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2619, allocations: 0 / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2619, allocations: 0 / 0.9819 GB, free: 25.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006048/0.2625, allocations: 393.1 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2626, allocations: 8.031 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.2626, allocations: 12.84 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2628, allocations: 176.3 kB / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2628, allocations: 384 / 0.9824 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.2628, allocations: 4.375 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.263, allocations: 57.98 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.263, allocations: 0 / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.263, allocations: 0 / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.263, allocations: 7.938 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.2631, allocations: 19.92 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2636, allocations: 280.8 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.2637, allocations: 38.56 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.2637, allocations: 16.98 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2637, allocations: 4 kB / 0.9828 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.2639, allocations: 105.1 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.2639, allocations: 4 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.000284/0.2642, allocations: 143.2 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.2643, allocations: 81.11 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.2644, allocations: 109.8 kB / 0.9833 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.2644, allocations: 25.7 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2644, allocations: 88.14 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.2645, allocations: 19.73 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.2645, allocations: 4 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.2645, allocations: 318.8 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.2646, allocations: 16 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.2646, allocations: 42.5 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.695e-05/0.2647, allocations: 113.9 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2647, allocations: 0 / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001374/0.2649, allocations: 123.3 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.2649, allocations: 37.7 kB / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2649, allocations: 0 / 0.984 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2649, allocations: 3.984 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.265, allocations: 7.938 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.265, allocations: 4 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.2651, allocations: 4 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2651, allocations: 4 kB / 0.984 GB, free: 23.02 MB / 0.6198 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/0.2652, allocations: 167.4 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.2652, allocations: 8.281 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.2652, allocations: 4.375 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2653, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2653, allocations: 4 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2653, allocations: 3.938 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.2656, allocations: 404.1 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2656, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-06/0.2656, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2656, allocations: 0 / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2656, allocations: 8 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2657, allocations: 4 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2657, allocations: 0 / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2658, allocations: 229 kB / 0.9848 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.2659, allocations: 81.11 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.2659, allocations: 3.984 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.266, allocations: 16 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.2661, allocations: 11.92 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2661, allocations: 4 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.2662, allocations: 91.27 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2662, allocations: 0 / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002213/0.2664, allocations: 12 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001011/0.2665, allocations: 104.9 kB / 0.9851 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.2667, allocations: 120.2 kB / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2667, allocations: 0 / 0.9853 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.2668, allocations: 91.34 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.2671, allocations: 21.34 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2674, allocations: 164.5 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2676, allocations: 0.6888 MB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.2676, allocations: 7.984 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.2677, allocations: 7.438 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2677, allocations: 3.938 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.002962/0.2706, allocations: 0.7392 MB / 0.9869 GB, free: 19.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)