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.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.234 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.001264/0.001264, allocations: 177.1 kB / 371.8 MB, free: 10.28 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.524/1.524, allocations: 205.4 MB / 0.6306 GB, free: 9.918 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.0009991/0.0009988, allocations: 99.67 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004522, allocations: 11.34 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7251/0.9384, allocations: 138.6 MB / 1.115 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.9387, allocations: 75.73 kB / 1.115 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003952/0.9427, allocations: 1.188 MB / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9427, allocations: 3.875 kB / 1.116 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9427, allocations: 0 / 1.116 GB, free: 32.07 MB / 0.698 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.0005015/0.9432, allocations: 393.5 kB / 1.116 GB, free: 31.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.9432, allocations: 15.77 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.9433, allocations: 8.656 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.9434, allocations: 174.3 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.9435, allocations: 0 / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.9435, allocations: 3.844 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.9436, allocations: 47.75 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9436, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.9436, allocations: 2.812 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.9437, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.9437, allocations: 24.8 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.9442, allocations: 271.9 kB / 1.117 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.9443, allocations: 40.64 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.9443, allocations: 2.516 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.9445, allocations: 107.5 kB / 1.117 GB, free: 31.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.9445, allocations: 0 / 1.117 GB, free: 31.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003228/0.9448, allocations: 217.3 kB / 1.117 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.9449, allocations: 81.11 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.945, allocations: 106.7 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.945, allocations: 29.64 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.9451, allocations: 85.97 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.9451, allocations: 23.16 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.9451, allocations: 0 / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9452, allocations: 325.1 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.9453, allocations: 13.69 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.9453, allocations: 39.8 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.9454, allocations: 47.02 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9454, allocations: 96 / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001514/0.9456, allocations: 127.6 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.9456, allocations: 32.5 kB / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9456, allocations: 3.844 kB / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9457, allocations: 0 / 1.118 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.9457, allocations: 7.906 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.9457, allocations: 6.531 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.9458, allocations: 16.66 kB / 1.118 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.9458, allocations: 3.969 kB / 1.118 GB, free: 30.09 MB / 0.698 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.0001143/0.9459, allocations: 151.1 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.946, allocations: 7.781 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.946, allocations: 7.625 kB / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.946, allocations: 0 / 1.118 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.946, allocations: 4 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.946, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.9464, allocations: 405.6 kB / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9464, allocations: 0 / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.9464, allocations: 0.9844 kB / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.9464, allocations: 0 / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.9465, allocations: 5.562 kB / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9465, allocations: 0 / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9465, allocations: 0 / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.9467, allocations: 238.7 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.9468, allocations: 82.23 kB / 1.119 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.9468, allocations: 3.938 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9469, allocations: 13.88 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.947, allocations: 9.469 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.947, allocations: 3.719 kB / 1.119 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.9471, allocations: 98.44 kB / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9471, allocations: 0 / 1.119 GB, free: 29.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002244/0.9473, allocations: 15.22 kB / 1.119 GB, free: 29.24 MB / 0.698 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.000115/0.9474, allocations: 109 kB / 1.119 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.9476, allocations: 113.4 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9476, allocations: 0 / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.9477, allocations: 91.47 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.9479, allocations: 22.83 kB / 1.119 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.9483, allocations: 149.8 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.9485, allocations: 0.6875 MB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.9486, allocations: 6.844 kB / 1.12 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.9486, allocations: 15.28 kB / 1.12 GB, free: 28.18 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9486, allocations: 0 / 1.12 GB, free: 28.18 MB / 0.698 GB Notification: Performance of Templates: time 0.002522/0.9511, allocations: 0.7314 MB / 1.121 GB, free: 28.11 MB / 0.698 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)