Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.719/2.719, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001492/0.001492, allocations: 179.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001551/0.001551, allocations: 87.84 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005077, allocations: 10.36 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2124, allocations: 115.3 MB / 0.9782 GB, free: 28.45 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001657/0.2141, allocations: 1.136 MB / 0.9793 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.2149, allocations: 445.3 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.215, allocations: 7.938 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.215, allocations: 4 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.2151, allocations: 11.97 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.2153, allocations: 11.94 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.2154, allocations: 35.89 kB / 0.9798 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.2155, allocations: 7.984 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.2155, allocations: 11.94 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.2156, allocations: 19.92 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.2156, allocations: 3.984 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.2157, allocations: 8 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.2157, allocations: 3.984 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.2157, allocations: 37.64 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.097e-05/0.2158, allocations: 24.23 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2158, allocations: 0 / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2159, allocations: 0 / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2159, allocations: 0 / 0.9799 GB, free: 26.66 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.0005907/0.2165, allocations: 388.9 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2165, allocations: 16.02 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.2166, allocations: 3.906 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2167, allocations: 171 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.2167, allocations: 3.984 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2167, allocations: 8 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2169, allocations: 45.69 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2169, allocations: 0 / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2169, allocations: 4 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2169, allocations: 0 / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.217, allocations: 31.86 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.2174, allocations: 276.8 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2175, allocations: 46.55 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2176, allocations: 0 / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.2178, allocations: 105.1 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.2178, allocations: 0 / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003685/0.2182, allocations: 220.4 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2183, allocations: 85.06 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.248e-05/0.2184, allocations: 121.8 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2184, allocations: 25.7 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.2184, allocations: 88.2 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2185, allocations: 19.75 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.2185, allocations: 4 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.2186, allocations: 318.8 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.2186, allocations: 16 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.2187, allocations: 38.5 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.2188, allocations: 41.7 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2188, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001911/0.219, allocations: 135.2 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.219, allocations: 29.7 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.219, allocations: 4 kB / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2191, allocations: 0 / 0.982 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.2191, allocations: 7.938 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2191, allocations: 3.953 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.2193, allocations: 11.98 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2193, allocations: 4 kB / 0.9821 GB, free: 24.14 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.741e-05/0.2194, allocations: 152.9 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.2194, allocations: 4 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2194, allocations: 8.75 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2195, allocations: 0 / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2195, allocations: 0 / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.2195, allocations: 3.953 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.2199, allocations: 404 kB / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.22, allocations: 0 / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.22, allocations: 7.938 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.22, allocations: 4 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.22, allocations: 7.984 kB / 0.9826 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.22, allocations: 3.953 kB / 0.9826 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.22, allocations: 3.938 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2203, allocations: 221.2 kB / 0.9828 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.2203, allocations: 81.02 kB / 0.9829 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.2204, allocations: 4 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2205, allocations: 19.98 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2206, allocations: 11.94 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.2206, allocations: 4 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.2207, allocations: 87.27 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2207, allocations: 3.938 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003024/0.221, allocations: 16 kB / 0.9831 GB, free: 23 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.000103/0.2211, allocations: 103.2 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.2213, allocations: 115.3 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2213, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2214, allocations: 87.39 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2218, allocations: 20.08 kB / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.2222, allocations: 156.8 kB / 0.9835 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2224, allocations: 0.6926 MB / 0.9842 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.2224, allocations: 7.984 kB / 0.9842 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.2225, allocations: 19.38 kB / 0.9842 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.2225, allocations: 0 / 0.9842 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.00378/0.2263, allocations: 0.74 MB / 0.9849 GB, free: 21 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)