Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.309/2.309, 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.001553/0.001553, allocations: 200.6 kB / 325.6 MB, free: 2.82 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.456/2.456, 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.001589/0.001589, allocations: 90.34 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006368/0.0006368, allocations: 13.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.658/7.879, allocations: 2.474 GB / 3.373 GB, free: 43.85 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/7.879, allocations: 99.56 kB / 3.373 GB, free: 43.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.944/12.82, allocations: 0.9073 GB / 4.281 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.005e-06/12.82, allocations: 0 / 4.281 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007708/12.82, allocations: 125.7 kB / 4.281 GB, free: 183.3 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02049/12.84, allocations: 5.068 MB / 4.286 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/12.84, allocations: 15.95 kB / 4.286 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/12.86, allocations: 1.262 MB / 4.287 GB, free: 177 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0251/12.88, allocations: 5.4 MB / 4.292 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005645/12.88, allocations: 285.8 kB / 4.293 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/12.89, allocations: 371.8 kB / 4.293 GB, free: 171 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/12.91, allocations: 5.308 MB / 4.298 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/12.91, allocations: 7.938 kB / 4.298 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/12.91, allocations: 163 kB / 4.298 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/12.91, allocations: 179.1 kB / 4.298 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/12.93, allocations: 5.215 MB / 4.303 GB, free: 159.9 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/12.98, allocations: 19.55 MB / 4.323 GB, free: 140 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/13, allocations: 3.642 MB / 4.326 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/13, allocations: 1.865 MB / 4.328 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007975/13.01, allocations: 2.027 MB / 4.33 GB, free: 132 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 7.043e-06/13.01, allocations: 0 / 4.33 GB, free: 132 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.02427/13.03, allocations: 5.085 MB / 4.335 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/13.03, allocations: 291.1 kB / 4.335 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009372/13.04, allocations: 3.464 MB / 4.339 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/13.04, allocations: 73.7 kB / 4.339 GB, free: 123 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002902/13.05, allocations: 1.969 MB / 4.341 GB, free: 121 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/13.05, allocations: 0.9105 MB / 4.341 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/13.05, allocations: 60 kB / 4.342 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002732/13.05, allocations: 431.9 kB / 4.342 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006486/13.06, allocations: 1.548 MB / 4.343 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007329/13.06, allocations: 2.237 MB / 4.346 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007146/13.07, allocations: 1.895 MB / 4.347 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/13.07, allocations: 4 kB / 4.347 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01755/13.09, allocations: 4.356 MB / 4.352 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001428/13.09, allocations: 7.411 MB / 4.359 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/13.09, allocations: 16 kB / 4.359 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/13.09, allocations: 116.7 kB / 4.359 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/13.1, allocations: 0.8151 MB / 4.36 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/13.1, allocations: 2.18 MB / 4.362 GB, free: 97.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/13.11, allocations: 0.5158 MB / 4.363 GB, free: 97.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009792/13.11, allocations: 143.9 kB / 4.363 GB, free: 97.24 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/13.11, allocations: 4 kB / 4.363 GB, free: 97.24 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01595/13.13, allocations: 4.027 MB / 4.367 GB, free: 93.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/13.13, allocations: 16 kB / 4.367 GB, free: 93.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/13.13, allocations: 117 kB / 4.367 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007753/13.14, allocations: 0.7995 MB / 4.367 GB, free: 92.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/13.14, allocations: 1.577 MB / 4.369 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007547/13.15, allocations: 488.8 kB / 4.369 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009999/13.15, allocations: 147.9 kB / 4.37 GB, free: 89.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005356/13.15, allocations: 1.515 MB / 4.371 GB, free: 88.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/13.15, allocations: 383.4 kB / 4.371 GB, free: 88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/13.17, allocations: 4.356 MB / 4.376 GB, free: 83.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/13.17, allocations: 28 kB / 4.376 GB, free: 83.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/13.17, allocations: 0 / 4.376 GB, free: 83.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01433/13.19, allocations: 3.492 MB / 4.379 GB, free: 79.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0362/13.22, allocations: 8.974 MB / 4.388 GB, free: 70.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-05/13.22, allocations: 0 / 4.388 GB, free: 70.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01052/13.23, allocations: 0.6398 MB / 4.389 GB, free: 70.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/13.23, allocations: 104.5 kB / 4.389 GB, free: 70.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009495/13.23, allocations: 87.92 kB / 4.389 GB, free: 70.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003988/13.24, allocations: 2.173 MB / 4.391 GB, free: 67.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/13.24, allocations: 0 / 4.391 GB, free: 67.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03502/13.27, allocations: 6.068 MB / 4.397 GB, free: 61.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005768/13.28, allocations: 1.073 MB / 4.398 GB, free: 60.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002509/13.28, allocations: 59.98 kB / 4.398 GB, free: 60.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01116/13.29, allocations: 339.3 kB / 4.398 GB, free: 60.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/13.29, allocations: 170 kB / 4.398 GB, free: 59.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009441/13.3, allocations: 123.9 kB / 4.399 GB, free: 59.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01065/13.31, allocations: 2.74 MB / 4.401 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.52e-07/13.31, allocations: 0 / 4.401 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01334/13.32, allocations: 2.43 MB / 4.404 GB, free: 54.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004424/13.32, allocations: 1.618 MB / 4.405 GB, free: 53.49 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02343/13.35, allocations: 6.105 MB / 4.411 GB, free: 47.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/13.35, allocations: 4.562 kB / 4.411 GB, free: 47.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00756/13.36, allocations: 1.95 MB / 4.413 GB, free: 45.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01677/13.37, allocations: 2.041 MB / 4.415 GB, free: 43.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/13.4, allocations: 11.15 MB / 4.426 GB, free: 32.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005598/13.41, allocations: 3.115 MB / 4.429 GB, free: 29.15 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01423/13.42, allocations: 2.058 MB / 4.431 GB, free: 27.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002811/13.42, allocations: 395.2 kB / 4.431 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of SimCode: time 1.492e-06/13.42, allocations: 0 / 4.431 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of Templates: time 0.8847/14.31, allocations: 90.3 MB / 4.519 GB, free: 168 MB / 0.8855 GB