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.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009613/0.0009615, allocations: 174.9 kB / 372.9 MB, free: 10.16 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.633/1.633, allocations: 205.4 MB / 0.6317 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.0008927/0.0008927, allocations: 96.56 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004125, allocations: 10.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2495, allocations: 115.3 MB / 0.9807 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7947/1.044, allocations: 138.7 MB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.045, allocations: 78.2 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003645/1.048, allocations: 1.189 MB / 1.117 GB, free: 32.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.048, allocations: 0 / 1.117 GB, free: 32.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.048, allocations: 0 / 1.117 GB, free: 32.13 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.0004977/1.049, allocations: 389.7 kB / 1.118 GB, free: 31.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.049, allocations: 10.42 kB / 1.118 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/1.049, allocations: 12.75 kB / 1.118 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.049, allocations: 172 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/1.049, allocations: 384 / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.049, allocations: 4.344 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/1.049, allocations: 60.19 kB / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.049, allocations: 192 / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.049, allocations: 3.938 kB / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.049, allocations: 0 / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/1.049, allocations: 21.12 kB / 1.118 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/1.05, allocations: 271.1 kB / 1.118 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/1.05, allocations: 47.58 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/1.05, allocations: 23.17 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/1.05, allocations: 0 / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/1.05, allocations: 101.4 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/1.05, allocations: 4 kB / 1.118 GB, free: 31.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002761/1.05, allocations: 145.4 kB / 1.119 GB, free: 31.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.05, allocations: 80.95 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/1.051, allocations: 115.6 kB / 1.119 GB, free: 30.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/1.051, allocations: 25.7 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/1.051, allocations: 87.92 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/1.051, allocations: 15.62 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-06/1.051, allocations: 3.25 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.051, allocations: 321 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/1.051, allocations: 18.22 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/1.051, allocations: 39.95 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/1.051, allocations: 116.3 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.051, allocations: 3.938 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001349/1.051, allocations: 122.3 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/1.051, allocations: 32.47 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.051, allocations: 0 / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.051, allocations: 5.562 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/1.051, allocations: 7.812 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.051, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/1.051, allocations: 17.5 kB / 1.12 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/1.051, allocations: 0 / 1.12 GB, free: 30.16 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.000104/1.051, allocations: 157.5 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/1.051, allocations: 3.875 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/1.051, allocations: 11.53 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.052, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.052, allocations: 2.906 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/1.052, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/1.052, allocations: 399.3 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.052, allocations: 3.188 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/1.052, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.052, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.052, allocations: 11.12 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.052, allocations: 7.875 kB / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.052, allocations: 0 / 1.12 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/1.052, allocations: 231.2 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/1.052, allocations: 81.02 kB / 1.12 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/1.052, allocations: 10.69 kB / 1.12 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/1.052, allocations: 14.45 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/1.052, allocations: 6.25 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/1.052, allocations: 6.688 kB / 1.12 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.029e-05/1.052, allocations: 88.91 kB / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.052, allocations: 0 / 1.121 GB, free: 29.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002122/1.053, allocations: 17.75 kB / 1.121 GB, free: 29.3 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.000105/1.053, allocations: 105.5 kB / 1.121 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000164/1.053, allocations: 116.1 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.053, allocations: 4.062 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/1.053, allocations: 91.06 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/1.053, allocations: 14.86 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/1.054, allocations: 151.9 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.054, allocations: 0.6902 MB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.964e-05/1.054, allocations: 5.359 kB / 1.122 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/1.054, allocations: 11.31 kB / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.054, allocations: 0 / 1.122 GB, free: 28.25 MB / 0.698 GB Notification: Performance of Templates: time 0.00282/1.057, allocations: 0.7457 MB / 1.122 GB, free: 28.17 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)