Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 182 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.537/2.537, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 102.3 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.0006254, allocations: 14.89 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2167, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.4564, allocations: 132.2 MB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/0.4569, allocations: 75.94 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006958/0.4639, allocations: 1.095 MB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.256e-06/0.464, allocations: 7.938 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.464, allocations: 4 kB / 1.029 GB, free: 11.9 MB / 0.6823 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.0007604/0.4648, allocations: 359.2 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.4649, allocations: 8.031 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.465, allocations: 7.906 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.4652, allocations: 171 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.4652, allocations: 11.92 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.4653, allocations: 8 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4655, allocations: 53.67 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4656, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.4656, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4656, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.4658, allocations: 23.98 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.4667, allocations: 304.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.467, allocations: 54.56 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.467, allocations: 0 / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.4674, allocations: 79.56 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.607e-06/0.4674, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004679/0.4679, allocations: 101.6 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.468, allocations: 55.41 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.4681, allocations: 104.9 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.4682, allocations: 33.7 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.4683, allocations: 84.12 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4683, allocations: 19.72 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.4684, allocations: 4 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4685, allocations: 314.8 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/0.4687, allocations: 20 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4688, allocations: 51.3 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.4689, allocations: 24.84 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.469, allocations: 0 / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003425/0.4693, allocations: 89.62 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4694, allocations: 4 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4694, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.4694, allocations: 4 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.4696, allocations: 15.92 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.4697, allocations: 7.984 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4699, allocations: 15.91 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4699, allocations: 11.98 kB / 1.031 GB, free: 9.668 MB / 0.6823 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 0.0001745/0.4701, allocations: 117.8 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.4702, allocations: 4 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.4703, allocations: 8.25 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4703, allocations: 0 / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4703, allocations: 3.984 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4704, allocations: 7.953 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.4714, allocations: 358.8 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.4714, allocations: 7.938 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.4715, allocations: 4.078 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.4715, allocations: 7.938 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4716, allocations: 0 / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.4716, allocations: 3.953 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4716, allocations: 4 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.472, allocations: 179.5 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.4721, allocations: 81.02 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.4721, allocations: 4 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.4724, allocations: 11.98 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.4725, allocations: 11.94 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4725, allocations: 4 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.959e-05/0.4726, allocations: 87.28 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.012e-06/0.4727, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005161/0.4732, allocations: 8 kB / 1.032 GB, free: 8.672 MB / 0.6823 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 0.0001764/0.4734, allocations: 101.6 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4737, allocations: 55.84 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.4737, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4739, allocations: 27.94 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.4743, allocations: 16.05 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.4752, allocations: 176.5 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4756, allocations: 0.6965 MB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.922e-05/0.4757, allocations: 4 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.4758, allocations: 11.72 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.4758, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.005714/0.4815, allocations: 0.6546 MB / 1.034 GB, free: 6.875 MB / 0.6823 GB