Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.877/1.877, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001538/0.001538, allocations: 182.3 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.6367 GB, free: 8.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 98.5 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008157/0.000816, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4417, allocations: 116.3 MB / 0.9883 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.497, allocations: 139.7 MB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.497, allocations: 74.12 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003152/1.5, allocations: 1.098 MB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.331e-06/1.5, allocations: 1.188 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.5, allocations: 5.641 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005134/1.501, allocations: 356.5 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.501, allocations: 19.8 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/1.501, allocations: 2.812 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.501, allocations: 170.9 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/1.501, allocations: 4.5 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/1.501, allocations: 14.91 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.501, allocations: 53.77 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.501, allocations: 1.125 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.501, allocations: 6.344 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.501, allocations: 4 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/1.502, allocations: 24.31 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/1.502, allocations: 301.8 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/1.502, allocations: 55.45 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/1.502, allocations: 3.703 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/1.502, allocations: 75.16 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.502, allocations: 0 / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002324/1.503, allocations: 105.9 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.503, allocations: 58.83 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/1.503, allocations: 99.31 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.503, allocations: 29.7 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/1.503, allocations: 91.56 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/1.503, allocations: 15.81 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.503, allocations: 4 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/1.503, allocations: 314.3 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/1.503, allocations: 24 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/1.503, allocations: 39.89 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/1.503, allocations: 23.34 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.503, allocations: 4 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001184/1.503, allocations: 102.2 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.503, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.503, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.503, allocations: 8.031 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/1.503, allocations: 8.625 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.503, allocations: 3.469 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/1.503, allocations: 11.94 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/1.503, allocations: 8.609 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.504e-05/1.504, allocations: 126 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/1.504, allocations: 3.906 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/1.504, allocations: 12.72 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/1.504, allocations: 4 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.504, allocations: 0.8906 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.504, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.504, allocations: 360 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.504, allocations: 0 / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/1.504, allocations: 8.062 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.504, allocations: 4 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.504, allocations: 4 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.504, allocations: 4.328 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.504, allocations: 3.938 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/1.504, allocations: 183.2 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/1.504, allocations: 77.11 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/1.504, allocations: 4.938 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/1.504, allocations: 20.36 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/1.504, allocations: 9.016 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/1.504, allocations: 0 / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.199e-05/1.504, allocations: 90.94 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/1.504, allocations: 0 / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002242/1.505, allocations: 12 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.696e-05/1.505, allocations: 100.8 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.505, allocations: 50.78 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.505, allocations: 4.906 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/1.505, allocations: 27.94 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.505, allocations: 11.38 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/1.506, allocations: 176.4 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/1.506, allocations: 0.6877 MB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.681e-05/1.506, allocations: 4 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/1.506, allocations: 11.44 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.506, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.002672/1.508, allocations: 0.6482 MB / 1.13 GB, free: 29.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)