Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.78/2.78, allocations: 285 MB / 292.5 MB, free: 10.54 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.002265/0.002265, allocations: 188.8 kB / 360.7 MB, free: 7.262 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.171/2.171, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001057/0.001056, allocations: 90.62 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.078e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8472/0.8473, allocations: 115.2 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/1.085, allocations: 137.8 MB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.085, allocations: 71.95 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004561/1.09, allocations: 1.089 MB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.09, allocations: 0.9688 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.049e-05/1.09, allocations: 4 kB / 1.099 GB, free: 1.559 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005217/1.091, allocations: 345.2 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.091, allocations: 10.77 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/1.091, allocations: 5.203 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.091, allocations: 178.9 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/1.091, allocations: 0.5938 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/1.091, allocations: 4 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/1.091, allocations: 20.66 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1.091, allocations: 53.17 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.091, allocations: 7.938 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/1.091, allocations: 0.8125 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.091, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006542/1.092, allocations: 280 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.092, allocations: 44.02 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/1.092, allocations: 29.06 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.092, allocations: 4.562 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/1.092, allocations: 66.03 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/1.092, allocations: 0.5938 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.000269/1.093, allocations: 81.53 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.093, allocations: 52.25 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.093, allocations: 105.6 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/1.093, allocations: 29.69 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/1.093, allocations: 84.14 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/1.093, allocations: 23.7 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/1.093, allocations: 1.219 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.093, allocations: 318.8 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/1.093, allocations: 15.94 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/1.093, allocations: 42.34 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/1.093, allocations: 19.98 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.093, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002223/1.094, allocations: 90.03 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.094, allocations: 9.625 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.094, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.094, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.094, allocations: 12 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.094, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/1.094, allocations: 12.61 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.094, allocations: 13.64 kB / 1.101 GB, free: 15.46 MB / 0.7136 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 () * 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 0.0001141/1.094, allocations: 116.6 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/1.094, allocations: 4 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/1.094, allocations: 8.406 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.094, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.094, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.094, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/1.095, allocations: 335.7 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.095, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/1.095, allocations: 4 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.095, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.095, allocations: 4 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/1.095, allocations: 5.391 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.095, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/1.095, allocations: 179.3 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/1.095, allocations: 81.11 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.095, allocations: 3.984 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.096, allocations: 8 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/1.096, allocations: 7.984 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/1.096, allocations: 4.938 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.052e-05/1.096, allocations: 83.28 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.51e-07/1.096, allocations: 7.938 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003236/1.096, allocations: 11.98 kB / 1.102 GB, free: 14.53 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete 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 0.0001496/1.096, allocations: 103.1 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.096, allocations: 45.44 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.096, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/1.097, allocations: 25.69 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.097, allocations: 9.953 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/1.097, allocations: 106.3 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/1.098, allocations: 0.694 MB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.919e-05/1.098, allocations: 7.984 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/1.098, allocations: 11.44 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/1.098, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.003865/1.102, allocations: 0.6296 MB / 1.103 GB, free: 12.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)