Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001113/0.001113, allocations: 191.1 kB / 371.9 MB, free: 10.14 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.893/1.893, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.000827/0.0008271, allocations: 94.86 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 16.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8564/1.115, allocations: 137.9 MB / 1.114 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/1.115, allocations: 67.56 kB / 1.114 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003502/1.118, allocations: 1.032 MB / 1.115 GB, free: 32.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.118, allocations: 0 / 1.115 GB, free: 32.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.119, allocations: 4 kB / 1.115 GB, free: 32.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004475/1.119, allocations: 360.9 kB / 1.116 GB, free: 31.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.119, allocations: 7.656 kB / 1.116 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/1.119, allocations: 3.906 kB / 1.116 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.119, allocations: 173.4 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.119, allocations: 6.094 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/1.119, allocations: 3.906 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/1.119, allocations: 71.77 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.119, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.119, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.119, allocations: 0 / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/1.12, allocations: 51.55 kB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/1.12, allocations: 275.6 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/1.12, allocations: 58.91 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.12, allocations: 0 / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/1.121, allocations: 76.91 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/1.121, allocations: 0 / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003944/1.121, allocations: 125 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.121, allocations: 54.45 kB / 1.116 GB, free: 31.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/1.121, allocations: 111 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.121, allocations: 25.7 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/1.121, allocations: 91.61 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/1.121, allocations: 11.06 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.121, allocations: 3.938 kB / 1.117 GB, free: 30.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.121, allocations: 325.2 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/1.121, allocations: 23.95 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/1.122, allocations: 56.23 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/1.122, allocations: 36.86 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.122, allocations: 4 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002362/1.122, allocations: 110.3 kB / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.122, allocations: 7.688 kB / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.122, allocations: 0 / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.122, allocations: 4.125 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.122, allocations: 14.55 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.122, allocations: 3.781 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/1.122, allocations: 10.94 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/1.122, allocations: 0 / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.unitDelay1.y,unitDelay1.y,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.799e-05/1.122, allocations: 119.9 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/1.122, allocations: 7.719 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/1.123, allocations: 107.8 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.123, allocations: 0 / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.123, allocations: 2.672 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.123, allocations: 0 / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/1.123, allocations: 354.7 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.123, allocations: 3.188 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/1.123, allocations: 11.5 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/1.123, allocations: 6.75 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.123, allocations: 4 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.123, allocations: 0 / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.123, allocations: 0 / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.123, allocations: 200.8 kB / 1.118 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.123, allocations: 77.11 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.123, allocations: 448 / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/1.124, allocations: 10.42 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/1.124, allocations: 6.375 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.124, allocations: 7.844 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.364e-05/1.124, allocations: 85.5 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.124, allocations: 3.938 kB / 1.118 GB, free: 29.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002276/1.124, allocations: 15.69 kB / 1.118 GB, free: 29.67 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: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002067/1.124, allocations: 109.2 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002636/1.124, allocations: 68.11 kB / 1.118 GB, free: 29.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.124, allocations: 12.12 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/1.125, allocations: 27.81 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/1.125, allocations: 16.95 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/1.125, allocations: 140.2 kB / 1.119 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.126, allocations: 0.6887 MB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.037e-05/1.126, allocations: 3.844 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/1.126, allocations: 7.438 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/1.126, allocations: 0 / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of Templates: time 0.003154/1.129, allocations: 0.6358 MB / 1.12 GB, free: 28.66 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1)