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.723/2.723, allocations: 285 MB / 292.5 MB, free: 10.56 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.001443/0.001443, allocations: 196.8 kB / 360.8 MB, free: 7.23 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 1.975/1.975, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 97.23 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.876e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8721, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/1.134, allocations: 137.7 MB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/1.134, allocations: 75.95 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006146/1.14, allocations: 1.172 MB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.14, allocations: 0.7812 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.14, allocations: 4 kB / 1.099 GB, free: 1.551 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.0005891/1.141, allocations: 389.1 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.141, allocations: 8.625 kB / 1.1 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/1.141, allocations: 5.953 kB / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/1.141, allocations: 171 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/1.141, allocations: 2.219 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/1.141, allocations: 4 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.279e-05/1.142, allocations: 12.69 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/1.142, allocations: 54.53 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.142, allocations: 0 / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/1.142, allocations: 2.688 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.142, allocations: 0.5938 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/1.142, allocations: 254.5 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.142, allocations: 35.64 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/1.142, allocations: 21.59 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/1.142, allocations: 5 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/1.143, allocations: 97.59 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/1.143, allocations: 0.6875 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002873/1.143, allocations: 79.38 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/1.143, allocations: 81.77 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/1.143, allocations: 112.6 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/1.143, allocations: 27.17 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/1.143, allocations: 88.08 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/1.143, allocations: 19.88 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.143, allocations: 0 / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.143, allocations: 324.2 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/1.144, allocations: 12 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/1.144, allocations: 41.75 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/1.144, allocations: 15.98 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.144, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/1.144, allocations: 86.66 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/1.144, allocations: 33.7 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.144, allocations: 2.781 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.144, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/1.144, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.144, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/1.144, allocations: 11.98 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/1.144, allocations: 4 kB / 1.101 GB, free: 15.39 MB / 0.7136 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 () * 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.0001252/1.144, allocations: 158.3 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/1.144, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/1.144, allocations: 8.625 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.144, allocations: 4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.145, allocations: 3.094 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.145, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/1.145, allocations: 347 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.145, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.305e-05/1.145, allocations: 4 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.145, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.145, allocations: 6.938 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.145, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.145, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/1.145, allocations: 195.4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/1.146, allocations: 81.02 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/1.146, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/1.146, allocations: 15.98 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/1.146, allocations: 7.984 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.146, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.562e-05/1.146, allocations: 87.28 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.9e-07/1.146, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003391/1.146, allocations: 12 kB / 1.102 GB, free: 14.38 MB / 0.7136 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) * 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.0001324/1.146, allocations: 104 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002334/1.147, allocations: 111.3 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.147, allocations: 3.562 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/1.147, allocations: 83.41 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/1.147, allocations: 15.94 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/1.148, allocations: 90.33 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/1.148, allocations: 0.6924 MB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.53e-05/1.148, allocations: 8 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/1.148, allocations: 11.44 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/1.148, allocations: 0 / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.003848/1.152, allocations: 0.7004 MB / 1.104 GB, free: 12.54 MB / 0.7136 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)