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.597/1.597, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001002/0.001002, allocations: 173.1 kB / 371.8 MB, free: 10.3 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.582/1.582, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009153/0.0009153, allocations: 97.52 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004194, allocations: 15.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.287, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001714/0.2888, allocations: 1.133 MB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007054/0.2895, allocations: 449 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.2896, allocations: 7.938 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2896, allocations: 3.938 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2898, allocations: 11.97 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.29, allocations: 12 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.894e-05/0.2901, allocations: 35.89 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2902, allocations: 7.984 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.2903, allocations: 11.94 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.2904, allocations: 27.89 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.2905, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.2905, allocations: 4 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.2905, allocations: 0 / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.2906, allocations: 37.64 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2907, allocations: 24.23 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2907, allocations: 4 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2907, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2907, allocations: 0 / 0.9811 GB, free: 25.96 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.0007571/0.2915, allocations: 384.9 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2915, allocations: 16.02 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.2916, allocations: 7.906 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2917, allocations: 175 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2918, allocations: 0 / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2918, allocations: 4 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.292, allocations: 49.69 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.292, allocations: 3.938 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.292, allocations: 0 / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.292, allocations: 0 / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/0.2921, allocations: 27.92 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2926, allocations: 272.8 kB / 0.982 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/0.2926, allocations: 42.56 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.2927, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2929, allocations: 101.1 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2929, allocations: 0 / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003567/0.2933, allocations: 228.3 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.2934, allocations: 85.11 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.2935, allocations: 125.8 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2935, allocations: 25.7 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.2935, allocations: 84.14 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.2936, allocations: 15.75 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.2936, allocations: 4 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.2937, allocations: 318.8 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.2937, allocations: 12 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.2938, allocations: 42.56 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.2938, allocations: 45.69 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2938, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001363/0.294, allocations: 127.2 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.294, allocations: 29.7 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.294, allocations: 4 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.2941, allocations: 4.062 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.2941, allocations: 7.938 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2941, allocations: 3.984 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.2942, allocations: 11.95 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2942, allocations: 4 kB / 0.9833 GB, free: 23.45 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 0.0001187/0.2944, allocations: 144.2 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.2944, allocations: 8 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.2944, allocations: 8.375 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2944, allocations: 4 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2945, allocations: 3.938 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2945, allocations: 0 / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.2949, allocations: 404.1 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2949, allocations: 384 / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-06/0.2949, allocations: 0 / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2949, allocations: 7.984 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2949, allocations: 4 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2949, allocations: 4 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2949, allocations: 15.89 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2951, allocations: 221.2 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.2952, allocations: 81.02 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2952, allocations: 4 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.2953, allocations: 15.98 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.2954, allocations: 7.984 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.2954, allocations: 11.94 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.2955, allocations: 91.81 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 3.938 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002337/0.2957, allocations: 16 kB / 0.9843 GB, free: 22.3 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.0001318/0.2958, allocations: 103.2 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.296, allocations: 111.3 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.296, allocations: 0 / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.2961, allocations: 87.39 kB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2963, allocations: 20.11 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.2967, allocations: 156.6 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.2968, allocations: 0.6888 MB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.2969, allocations: 11.98 kB / 0.9854 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.2969, allocations: 15.38 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2969, allocations: 0 / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.002978/0.2999, allocations: 0.7336 MB / 0.9862 GB, free: 20.31 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)