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.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.16 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.0009352/0.0009353, allocations: 184.5 kB / 372.9 MB, free: 10.15 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.451/1.451, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007192/0.000719, allocations: 94.77 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 14.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2088, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001257/0.2101, allocations: 1.129 MB / 0.9818 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.2107, allocations: 456.8 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.2107, allocations: 7.938 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.2108, allocations: 3.984 kB / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.2109, allocations: 7.938 kB / 0.9823 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.211, allocations: 15.98 kB / 0.9823 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.2111, allocations: 47.78 kB / 0.9823 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.2112, allocations: 4 kB / 0.9823 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.2112, allocations: 23.86 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.2113, allocations: 15.92 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2113, allocations: 4 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.2113, allocations: 4 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.2113, allocations: 7.984 kB / 0.9824 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.2114, allocations: 41.58 kB / 0.9824 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.614e-05/0.2114, allocations: 28.22 kB / 0.9825 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2115, allocations: 0 / 0.9825 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2115, allocations: 0 / 0.9825 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.2115, allocations: 3.938 kB / 0.9825 GB, free: 25.55 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.0004648/0.2119, allocations: 393.1 kB / 0.9828 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.212, allocations: 12.03 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.212, allocations: 4.844 kB / 0.9829 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.2121, allocations: 172.3 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.2122, allocations: 8.375 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2122, allocations: 384 / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.816e-05/0.2123, allocations: 50 kB / 0.9831 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2123, allocations: 3.938 kB / 0.9831 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2123, allocations: 8 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2123, allocations: 4 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.2124, allocations: 15.98 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.2127, allocations: 268.8 kB / 0.9834 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/0.2128, allocations: 42.56 kB / 0.9834 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.2128, allocations: 20.98 kB / 0.9834 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2128, allocations: 4.078 kB / 0.9834 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.213, allocations: 109 kB / 0.9835 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.213, allocations: 4 kB / 0.9835 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002184/0.2132, allocations: 139.2 kB / 0.9837 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2133, allocations: 81.11 kB / 0.9837 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.325e-05/0.2133, allocations: 114.2 kB / 0.9839 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2133, allocations: 29.7 kB / 0.9839 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.2134, allocations: 84.14 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2134, allocations: 31.66 kB / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2134, allocations: 0 / 0.984 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.2135, allocations: 318.8 kB / 0.9843 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.2135, allocations: 15.98 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.2135, allocations: 46.48 kB / 0.9844 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.2136, allocations: 113.9 kB / 0.9845 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2136, allocations: 4 kB / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001182/0.2137, allocations: 119.2 kB / 0.9846 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2138, allocations: 37.69 kB / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2138, allocations: 4 kB / 0.9846 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2138, allocations: 3.938 kB / 0.9846 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.2139, allocations: 4 kB / 0.9846 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2139, allocations: 0 / 0.9846 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.2139, allocations: 16.05 kB / 0.9846 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2139, allocations: 7.938 kB / 0.9847 GB, free: 23.03 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 7.057e-05/0.214, allocations: 150.5 kB / 0.9848 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.214, allocations: 7.906 kB / 0.9848 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.2141, allocations: 16.36 kB / 0.9848 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2141, allocations: 0 / 0.9848 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2141, allocations: 0 / 0.9848 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.2141, allocations: 77.11 kB / 0.9849 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2141, allocations: 8 kB / 0.9849 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2142, allocations: 15.98 kB / 0.9849 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2143, allocations: 11.92 kB / 0.9849 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000203/0.2145, allocations: 266 kB / 0.9852 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001595/0.2146, allocations: 312.3 kB / 0.9855 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.911e-05/0.2147, allocations: 31.98 kB / 0.9855 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.2147, allocations: 87.28 kB / 0.9856 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of Backend: time 3.1e-07/0.2147, allocations: 96 / 0.9856 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.2151, allocations: 169.7 kB / 0.9858 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003781/0.2155, allocations: 0.6575 MB / 0.9864 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002554/0.218, allocations: 0.8059 MB / 0.9872 GB, free: 20.29 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)