Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.169/2.169, 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.001467/0.001467, allocations: 173.2 kB / 325.6 MB, free: 2.84 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.464/2.464, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001152/0.001152, allocations: 95 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004571, allocations: 12.69 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2096, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.136/7.346, allocations: 2.19 GB / 3.089 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/7.346, allocations: 88.42 kB / 3.089 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5551/7.901, allocations: 167.6 MB / 3.253 GB, free: 177 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.074e-06/7.901, allocations: 3.938 kB / 3.253 GB, free: 177 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.623e-05/7.901, allocations: 12 kB / 3.253 GB, free: 177 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001882/7.903, allocations: 0.8182 MB / 3.254 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/7.903, allocations: 8.031 kB / 3.254 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/7.905, allocations: 147.2 kB / 3.254 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/7.906, allocations: 0.5012 MB / 3.254 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/7.906, allocations: 24.66 kB / 3.254 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/7.906, allocations: 28 kB / 3.254 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007985/7.907, allocations: 332.8 kB / 3.255 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/7.907, allocations: 0 / 3.255 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/7.907, allocations: 20 kB / 3.255 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/7.907, allocations: 8.562 kB / 3.255 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/7.908, allocations: 214.1 kB / 3.255 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/7.91, allocations: 1.463 MB / 3.256 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/7.911, allocations: 223.2 kB / 3.257 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/7.911, allocations: 3.938 kB / 3.257 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003845/7.911, allocations: 163.8 kB / 3.257 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 4.368e-06/7.911, allocations: 0 / 3.257 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.004571/7.916, allocations: 1.158 MB / 3.258 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/7.916, allocations: 55.41 kB / 3.258 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/7.917, allocations: 413 kB / 3.258 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/7.917, allocations: 33.7 kB / 3.258 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/7.917, allocations: 244.2 kB / 3.259 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/7.917, allocations: 98.55 kB / 3.259 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/7.917, allocations: 8 kB / 3.259 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/7.917, allocations: 358.8 kB / 3.259 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/7.918, allocations: 132.8 kB / 3.259 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/7.918, allocations: 202.3 kB / 3.259 GB, free: 170 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/7.918, allocations: 175.4 kB / 3.26 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/7.918, allocations: 0 / 3.26 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001518/7.92, allocations: 497.6 kB / 3.26 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/7.92, allocations: 4 kB / 3.26 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.92, allocations: 3.984 kB / 3.26 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/7.921, allocations: 88.91 kB / 3.26 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/7.921, allocations: 75.86 kB / 3.26 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/7.923, allocations: 1.772 MB / 3.262 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/7.924, allocations: 31.98 kB / 3.262 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/7.924, allocations: 12 kB / 3.262 GB, free: 167.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004063/7.925, allocations: 197.7 kB / 3.262 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/7.925, allocations: 51.39 kB / 3.262 GB, free: 167 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/7.926, allocations: 418.8 kB / 3.263 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/7.926, allocations: 4 kB / 3.263 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/7.926, allocations: 4.125 kB / 3.263 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/7.926, allocations: 3.953 kB / 3.263 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/7.929, allocations: 1.039 MB / 3.264 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/7.929, allocations: 3.938 kB / 3.264 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007117/7.929, allocations: 68.03 kB / 3.264 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/7.93, allocations: 84.81 kB / 3.264 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/7.93, allocations: 12 kB / 3.264 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/7.932, allocations: 1.566 MB / 3.265 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/7.932, allocations: 0 / 3.265 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/7.933, allocations: 0.6123 MB / 3.266 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/7.934, allocations: 156.5 kB / 3.266 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/7.934, allocations: 15.95 kB / 3.266 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/7.934, allocations: 19.98 kB / 3.266 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/7.935, allocations: 23.97 kB / 3.266 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/7.935, allocations: 11.98 kB / 3.266 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005335/7.935, allocations: 311.1 kB / 3.266 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/7.935, allocations: 0 / 3.266 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001032/7.936, allocations: 187.9 kB / 3.267 GB, free: 162.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/7.938, allocations: 1.013 MB / 3.268 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001498/7.94, allocations: 470.2 kB / 3.268 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/7.94, allocations: 0 / 3.268 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004315/7.94, allocations: 255 kB / 3.268 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/7.942, allocations: 221.3 kB / 3.269 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/7.945, allocations: 1.287 MB / 3.27 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/7.945, allocations: 0.8737 MB / 3.271 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006457/7.946, allocations: 88.27 kB / 3.271 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/7.946, allocations: 39.42 kB / 3.271 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/7.946, allocations: 0 / 3.271 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03884/7.985, allocations: 17.32 MB / 3.288 GB, free: 140.8 MB / 0.8855 GB