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.196/2.196, allocations: 252.6 MB / 265.2 MB, free: 5.668 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 179.9 kB / 324.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.5754 GB, free: 10.39 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.001107/0.001107, allocations: 98.55 kB / 0.6797 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.379e-05, allocations: 0 / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1939, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.118/7.312, allocations: 2.19 GB / 3.085 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/7.312, allocations: 89.28 kB / 3.085 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.16/8.472, allocations: 167.4 MB / 3.249 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.013e-06/8.472, allocations: 0 / 3.249 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.483e-05/8.472, allocations: 13.75 kB / 3.249 GB, free: 259.2 MB / 0.8698 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.00156/8.473, allocations: 0.7337 MB / 3.249 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/8.473, allocations: 10 kB / 3.249 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/8.475, allocations: 144.8 kB / 3.25 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/8.476, allocations: 0.4924 MB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/8.476, allocations: 30.27 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/8.476, allocations: 32.28 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/8.477, allocations: 322.7 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/8.477, allocations: 1.375 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/8.477, allocations: 10.25 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/8.477, allocations: 10.19 kB / 3.25 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/8.478, allocations: 217 kB / 3.251 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/8.481, allocations: 1.46 MB / 3.252 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/8.481, allocations: 221.8 kB / 3.252 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/8.482, allocations: 103.8 kB / 3.252 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/8.482, allocations: 1.938 kB / 3.252 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/8.482, allocations: 163.3 kB / 3.253 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 3.627e-06/8.482, allocations: 3.75 kB / 3.253 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.004268/8.486, allocations: 1.041 MB / 3.254 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/8.486, allocations: 54.41 kB / 3.254 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/8.487, allocations: 411.2 kB / 3.254 GB, free: 257 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/8.487, allocations: 33.98 kB / 3.254 GB, free: 257 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/8.488, allocations: 232.4 kB / 3.254 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/8.488, allocations: 111.5 kB / 3.254 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/8.488, allocations: 6.5 kB / 3.254 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001038/8.488, allocations: 359.4 kB / 3.255 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/8.488, allocations: 133.8 kB / 3.255 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/8.489, allocations: 197 kB / 3.255 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/8.489, allocations: 163.4 kB / 3.255 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/8.489, allocations: 1.094 kB / 3.255 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00158/8.491, allocations: 496.7 kB / 3.256 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/8.491, allocations: 8.922 kB / 3.256 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/8.491, allocations: 1.281 kB / 3.256 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/8.491, allocations: 83.95 kB / 3.256 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/8.492, allocations: 75.19 kB / 3.256 GB, free: 256.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/8.494, allocations: 1.712 MB / 3.257 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/8.495, allocations: 27.42 kB / 3.258 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/8.495, allocations: 15.53 kB / 3.258 GB, free: 255 MB / 0.8698 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/8.495, allocations: 130.9 kB / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/8.495, allocations: 46.78 kB / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/8.497, allocations: 421.7 kB / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/8.497, allocations: 3.312 kB / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/8.497, allocations: 1.406 kB / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/8.497, allocations: 0 / 3.258 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/8.499, allocations: 1.035 MB / 3.259 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/8.5, allocations: 0 / 3.259 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/8.5, allocations: 57.47 kB / 3.259 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/8.501, allocations: 109.1 kB / 3.259 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/8.501, allocations: 10.7 kB / 3.259 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/8.503, allocations: 1.722 MB / 3.261 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/8.503, allocations: 8.016 kB / 3.261 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/8.505, allocations: 0.6011 MB / 3.262 GB, free: 253 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/8.505, allocations: 162.1 kB / 3.262 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/8.505, allocations: 7.812 kB / 3.262 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/8.506, allocations: 24.62 kB / 3.262 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/8.506, allocations: 17.2 kB / 3.262 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/8.506, allocations: 18.78 kB / 3.262 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005583/8.507, allocations: 305.3 kB / 3.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/8.507, allocations: 0 / 3.262 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001142/8.508, allocations: 186.5 kB / 3.262 GB, free: 252.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/8.51, allocations: 0.9761 MB / 3.263 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001223/8.512, allocations: 438.6 kB / 3.264 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/8.512, allocations: 1.438 kB / 3.264 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/8.512, allocations: 276.3 kB / 3.264 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/8.514, allocations: 227.9 kB / 3.264 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/8.516, allocations: 0.766 MB / 3.265 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/8.517, allocations: 0.8707 MB / 3.266 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006907/8.518, allocations: 87.78 kB / 3.266 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/8.518, allocations: 35.19 kB / 3.266 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/8.518, allocations: 0 / 3.266 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.0432/8.561, allocations: 19.22 MB / 3.285 GB, free: 250.3 MB / 0.8698 GB