Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.738/2.738, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 180 kB / 371 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 91.48 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 11.7 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9271/1.135, allocations: 138.4 MB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.135, allocations: 75.86 kB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00516/1.14, allocations: 1.188 MB / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.141, allocations: 0 / 1.115 GB, free: 31.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.141, allocations: 0 / 1.115 GB, free: 31.49 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.0006084/1.141, allocations: 399.4 kB / 1.115 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.141, allocations: 11.8 kB / 1.115 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/1.141, allocations: 11.59 kB / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.141, allocations: 164.5 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.141, allocations: 7.984 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/1.141, allocations: 3.906 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/1.142, allocations: 45.48 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.142, allocations: 3.812 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.142, allocations: 0 / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.142, allocations: 4 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/1.142, allocations: 16.75 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/1.142, allocations: 273.4 kB / 1.116 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.142, allocations: 42.22 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/1.142, allocations: 3.969 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/1.143, allocations: 103.5 kB / 1.116 GB, free: 30.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.855e-06/1.143, allocations: 0 / 1.116 GB, free: 30.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0003958/1.143, allocations: 228.3 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/1.143, allocations: 81.95 kB / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/1.143, allocations: 102 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/1.143, allocations: 25.7 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/1.143, allocations: 94.08 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/1.143, allocations: 22.38 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/1.143, allocations: 4 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.144, allocations: 320.9 kB / 1.117 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/1.144, allocations: 14 kB / 1.117 GB, free: 29.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.125e-05/1.144, allocations: 41.08 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/1.144, allocations: 43.67 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.144, allocations: 0 / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002094/1.144, allocations: 132.5 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.144, allocations: 32.02 kB / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/1.144, allocations: 3.875 kB / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.144, allocations: 0 / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/1.144, allocations: 6.953 kB / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.144, allocations: 6.125 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/1.144, allocations: 7.844 kB / 1.117 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.144, allocations: 3.875 kB / 1.117 GB, free: 29.5 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.0001308/1.144, allocations: 159.3 kB / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/1.144, allocations: 7.812 kB / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/1.144, allocations: 10.27 kB / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.144, allocations: 0 / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.144, allocations: 384 / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.144, allocations: 0 / 1.117 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/1.145, allocations: 404.3 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.145, allocations: 4.016 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/1.145, allocations: 0 / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.145, allocations: 4 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.145, allocations: 3.875 kB / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.145, allocations: 0 / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.145, allocations: 0 / 1.118 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/1.145, allocations: 235 kB / 1.118 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/1.145, allocations: 84.77 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.145, allocations: 0 / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.146, allocations: 14.58 kB / 1.118 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/1.146, allocations: 16.47 kB / 1.118 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/1.146, allocations: 3.781 kB / 1.118 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.409e-05/1.146, allocations: 96.5 kB / 1.118 GB, free: 28.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.146, allocations: 0 / 1.118 GB, free: 28.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003001/1.146, allocations: 19.14 kB / 1.118 GB, free: 28.65 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.0001215/1.146, allocations: 102.6 kB / 1.118 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002175/1.147, allocations: 113.4 kB / 1.118 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.147, allocations: 0 / 1.118 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/1.147, allocations: 94.45 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/1.147, allocations: 7.156 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/1.147, allocations: 155.7 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/1.148, allocations: 0.6925 MB / 1.119 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.998e-05/1.148, allocations: 6.797 kB / 1.119 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/1.148, allocations: 11.28 kB / 1.119 GB, free: 27.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.148, allocations: 0 / 1.119 GB, free: 27.6 MB / 0.698 GB Notification: Performance of Templates: time 0.00357/1.151, allocations: 0.7305 MB / 1.12 GB, free: 27.52 MB / 0.698 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)