Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.555/2.555, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 182.9 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.459/2.459, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 95.91 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004773, allocations: 12.41 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2621, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001805/0.2639, allocations: 1.136 MB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.2648, allocations: 465.9 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.2649, allocations: 0 / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.265, allocations: 3.984 kB / 0.9004 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2651, allocations: 7.984 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.2652, allocations: 15.92 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.2653, allocations: 31.95 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2654, allocations: 8 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.2655, allocations: 23.86 kB / 0.9005 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.2656, allocations: 15.92 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2656, allocations: 4 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2656, allocations: 0 / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.2657, allocations: 7.984 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.2657, allocations: 37.64 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.001e-05/0.2658, allocations: 23.95 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2658, allocations: 4 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2658, allocations: 3.938 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2659, allocations: 0 / 0.9006 GB, free: 64.18 MB / 0.6042 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.0006242/0.2665, allocations: 388.8 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2665, allocations: 8.031 kB / 0.901 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.2666, allocations: 11.95 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2667, allocations: 171.1 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2668, allocations: 0 / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2668, allocations: 8 kB / 0.9012 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2669, allocations: 49.69 kB / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.267, allocations: 0 / 0.9012 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.267, allocations: 7.922 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.267, allocations: 0 / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.2671, allocations: 12 kB / 0.9012 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.2675, allocations: 288.7 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.2677, allocations: 38.56 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2677, allocations: 0 / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.2679, allocations: 105.1 kB / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.2679, allocations: 0 / 0.9016 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003643/0.2683, allocations: 220.3 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2684, allocations: 89.11 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.2685, allocations: 106.2 kB / 0.902 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.2685, allocations: 29.7 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.2685, allocations: 84.14 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2686, allocations: 23.86 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.2686, allocations: 0 / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.2687, allocations: 314.8 kB / 0.9025 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.2687, allocations: 15.98 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.2688, allocations: 50.44 kB / 0.9025 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.2689, allocations: 50.14 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2689, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001964/0.2691, allocations: 119.2 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.2691, allocations: 33.7 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2692, allocations: 3.938 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2692, allocations: 11.98 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.2693, allocations: 11.95 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2693, allocations: 4 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2694, allocations: 4 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2694, allocations: 4 kB / 0.9028 GB, free: 61.68 MB / 0.6042 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.0001028/0.2695, allocations: 151.5 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.2696, allocations: 7.906 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2696, allocations: 8.375 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2696, allocations: 8 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2696, allocations: 3.953 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2696, allocations: 0 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.2701, allocations: 400.2 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2701, allocations: 0 / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.398e-05/0.2702, allocations: 3.938 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2702, allocations: 0 / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2702, allocations: 7.953 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2702, allocations: 0 / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2702, allocations: 0 / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2705, allocations: 233.1 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.2705, allocations: 81.05 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.2706, allocations: 4 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2707, allocations: 15.94 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.2708, allocations: 11.92 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2708, allocations: 8.062 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.2709, allocations: 95.27 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2709, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003757/0.2713, allocations: 12 kB / 0.9038 GB, free: 60.53 MB / 0.6042 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.0001101/0.2714, allocations: 96.5 kB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.2717, allocations: 127.2 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2717, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2718, allocations: 91.39 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2721, allocations: 12.11 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.2725, allocations: 164.6 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.2727, allocations: 0.6887 MB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.2727, allocations: 0 / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.2728, allocations: 19.38 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.2728, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.003779/0.2766, allocations: 0.7258 MB / 0.9056 GB, free: 58.53 MB / 0.6042 GB