Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007446/0.0007447, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5541, allocations: 106.3 MB / 0.728 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001844/0.556, allocations: 1.136 MB / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.5569, allocations: 455.8 kB / 0.7295 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.5569, allocations: 4 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.557, allocations: 3.984 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.5571, allocations: 11.92 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.5573, allocations: 15.92 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.5574, allocations: 31.95 kB / 0.7296 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.5575, allocations: 4 kB / 0.7296 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.5575, allocations: 23.91 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.5576, allocations: 19.92 kB / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.5577, allocations: 0 / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.5577, allocations: 4 kB / 0.7296 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.5577, allocations: 3.938 kB / 0.7296 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.5577, allocations: 33.7 kB / 0.7297 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.436e-05/0.5578, allocations: 33.91 kB / 0.7297 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.5578, allocations: 0 / 0.7297 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5579, allocations: 0 / 0.7297 GB, free: 9.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5579, allocations: 0 / 0.7297 GB, free: 9.727 MB / 0.545 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.0006829/0.5586, allocations: 392.8 kB / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5586, allocations: 12.03 kB / 0.7301 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5586, allocations: 0 / 0.7301 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.5588, allocations: 174.9 kB / 0.7302 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5588, allocations: 0 / 0.7302 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.5589, allocations: 8 kB / 0.7303 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.559, allocations: 57.61 kB / 0.7303 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.559, allocations: 0 / 0.7303 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.559, allocations: 3.984 kB / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5591, allocations: 4 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.5591, allocations: 16 kB / 0.7303 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.5596, allocations: 268.8 kB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/0.5597, allocations: 54.44 kB / 0.7306 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5598, allocations: 0 / 0.7306 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.56, allocations: 97.2 kB / 0.7307 GB, free: 8.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.56, allocations: 0 / 0.7307 GB, free: 8.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003912/0.5604, allocations: 224.4 kB / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.5605, allocations: 85.06 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.5606, allocations: 113.8 kB / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5606, allocations: 25.7 kB / 0.7312 GB, free: 7.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.5607, allocations: 88.14 kB / 0.7312 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.5607, allocations: 15.8 kB / 0.7313 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.5607, allocations: 7.938 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5608, allocations: 314.8 kB / 0.7316 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.5609, allocations: 19.98 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.5609, allocations: 38.5 kB / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.561, allocations: 45.7 kB / 0.7317 GB, free: 7.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.561, allocations: 0 / 0.7317 GB, free: 7.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000183/0.5612, allocations: 131.2 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5613, allocations: 29.7 kB / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5613, allocations: 7.984 kB / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5613, allocations: 0 / 0.7318 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.5613, allocations: 4 kB / 0.7318 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5614, allocations: 3.953 kB / 0.7318 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.5614, allocations: 12.06 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.5615, allocations: 4 kB / 0.7318 GB, free: 7.227 MB / 0.545 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.0001495/0.5616, allocations: 151.5 kB / 0.732 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.5616, allocations: 11.89 kB / 0.732 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.5617, allocations: 8.438 kB / 0.732 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5617, allocations: 4 kB / 0.732 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5617, allocations: 384 / 0.732 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5617, allocations: 3.953 kB / 0.732 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.5622, allocations: 412.1 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5622, allocations: 0 / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.5622, allocations: 0 / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5622, allocations: 4 kB / 0.7324 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5622, allocations: 4 kB / 0.7324 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5622, allocations: 3.953 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5622, allocations: 0 / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.5625, allocations: 233.1 kB / 0.7326 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.5625, allocations: 85.02 kB / 0.7327 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.5625, allocations: 7.984 kB / 0.7327 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.5627, allocations: 12 kB / 0.7327 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.5627, allocations: 11.94 kB / 0.7328 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.5627, allocations: 4 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.5628, allocations: 91.2 kB / 0.7328 GB, free: 6.082 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5628, allocations: 0 / 0.7328 GB, free: 6.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002287/0.563, allocations: 16 kB / 0.7329 GB, free: 6.066 MB / 0.545 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.0001192/0.5632, allocations: 103.2 kB / 0.733 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.5634, allocations: 115.3 kB / 0.7331 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5634, allocations: 0 / 0.7331 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.5635, allocations: 83.41 kB / 0.7332 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.5637, allocations: 23.02 kB / 0.7332 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.5641, allocations: 157.8 kB / 0.7333 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5645, allocations: 0.6887 MB / 0.734 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.5645, allocations: 4 kB / 0.734 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.5646, allocations: 15.44 kB / 0.734 GB, free: 4.801 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5646, allocations: 0 / 0.734 GB, free: 4.801 MB / 0.545 GB Notification: Performance of Templates: time 0.003231/0.5678, allocations: 0.7317 MB / 0.7347 GB, free: 4.074 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: