Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 304.3 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.1 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007615/0.0007615, allocations: 90.36 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 11.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.41/6.653, allocations: 2.358 GB / 3.339 GB, free: 331.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/6.654, allocations: 96.8 kB / 3.339 GB, free: 331.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.731/9.385, allocations: 0.9236 GB / 4.262 GB, free: 138.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.826e-06/9.385, allocations: 0 / 4.262 GB, free: 138.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006308/9.385, allocations: 123.5 kB / 4.262 GB, free: 138.8 MB / 0.948 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.0154/9.401, allocations: 5.03 MB / 4.267 GB, free: 133.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/9.401, allocations: 8.031 kB / 4.267 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008051/9.409, allocations: 1.259 MB / 4.269 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01335/9.422, allocations: 5.281 MB / 4.274 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/9.423, allocations: 290.1 kB / 4.274 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/9.424, allocations: 375.8 kB / 4.274 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/9.435, allocations: 5.378 MB / 4.28 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.523e-05/9.435, allocations: 11.88 kB / 4.28 GB, free: 121 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005317/9.436, allocations: 166.5 kB / 4.28 GB, free: 120.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/9.436, allocations: 171.2 kB / 4.28 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/9.447, allocations: 5.211 MB / 4.285 GB, free: 115.5 MB / 0.948 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.03669/9.484, allocations: 19.46 MB / 4.304 GB, free: 95.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009984/9.494, allocations: 3.6 MB / 4.308 GB, free: 91.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/9.498, allocations: 1.891 MB / 4.309 GB, free: 90.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/9.5, allocations: 1.859 MB / 4.311 GB, free: 87.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005032/9.505, allocations: 2.066 MB / 4.313 GB, free: 85.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.913e-06/9.505, allocations: 0 / 4.313 GB, free: 85.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01466/9.52, allocations: 5.095 MB / 4.318 GB, free: 80.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/9.52, allocations: 291.1 kB / 4.318 GB, free: 80.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008105/9.528, allocations: 3.591 MB / 4.322 GB, free: 76.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/9.529, allocations: 81.7 kB / 4.322 GB, free: 76.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002305/9.531, allocations: 1.955 MB / 4.324 GB, free: 74.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/9.533, allocations: 0.9147 MB / 4.325 GB, free: 73.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006351/9.534, allocations: 60 kB / 4.325 GB, free: 73.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002944/9.534, allocations: 428 kB / 4.325 GB, free: 73.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/9.538, allocations: 1.54 MB / 4.327 GB, free: 71.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/9.542, allocations: 2.256 MB / 4.329 GB, free: 69.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008202/9.551, allocations: 3.872 MB / 4.333 GB, free: 64.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-05/9.551, allocations: 4 kB / 4.333 GB, free: 64.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01308/9.564, allocations: 4.372 MB / 4.337 GB, free: 60.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003472/9.564, allocations: 0.5913 MB / 4.338 GB, free: 59.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/9.564, allocations: 16 kB / 4.338 GB, free: 59.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/9.565, allocations: 112.7 kB / 4.338 GB, free: 59.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/9.569, allocations: 0.7762 MB / 4.339 GB, free: 58.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/9.572, allocations: 2.177 MB / 4.341 GB, free: 56.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/9.577, allocations: 0.4965 MB / 4.341 GB, free: 55.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008839/9.578, allocations: 147.9 kB / 4.341 GB, free: 55.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/9.578, allocations: 4 kB / 4.341 GB, free: 55.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/9.589, allocations: 4.026 MB / 4.345 GB, free: 51.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/9.589, allocations: 16 kB / 4.345 GB, free: 51.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/9.589, allocations: 109.4 kB / 4.345 GB, free: 51.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/9.594, allocations: 0.7683 MB / 4.346 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/9.595, allocations: 1.564 MB / 4.348 GB, free: 49.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/9.6, allocations: 473.1 kB / 4.348 GB, free: 48.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007519/9.601, allocations: 143.9 kB / 4.348 GB, free: 48.52 MB / 0.948 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.004141/9.605, allocations: 1.511 MB / 4.35 GB, free: 47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/9.607, allocations: 391.3 kB / 4.35 GB, free: 46.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/9.619, allocations: 4.346 MB / 4.354 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-05/9.619, allocations: 28 kB / 4.354 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/9.619, allocations: 4 kB / 4.354 GB, free: 42.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008181/9.628, allocations: 3.488 MB / 4.358 GB, free: 38.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/9.648, allocations: 8.924 MB / 4.366 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/9.648, allocations: 0 / 4.366 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/9.652, allocations: 0.6583 MB / 4.367 GB, free: 28.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/9.652, allocations: 92.77 kB / 4.367 GB, free: 28.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003944/9.653, allocations: 91.86 kB / 4.367 GB, free: 28.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/9.655, allocations: 2.165 MB / 4.369 GB, free: 26.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/9.655, allocations: 0 / 4.369 GB, free: 26.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/9.67, allocations: 6 MB / 4.375 GB, free: 20.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/9.674, allocations: 1.042 MB / 4.376 GB, free: 19.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/9.676, allocations: 59.98 kB / 4.376 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004875/9.68, allocations: 335.4 kB / 4.377 GB, free: 18.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/9.681, allocations: 177.9 kB / 4.377 GB, free: 18.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007354/9.682, allocations: 127.9 kB / 4.377 GB, free: 18.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005477/9.687, allocations: 2.522 MB / 4.379 GB, free: 16.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/9.688, allocations: 0 / 4.379 GB, free: 16.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01031/9.698, allocations: 2.419 MB / 4.382 GB, free: 13.6 MB / 0.948 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.003841/9.702, allocations: 1.633 MB / 4.383 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01407/9.716, allocations: 6.116 MB / 4.389 GB, free: 5.926 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/9.716, allocations: 5.328 kB / 4.389 GB, free: 5.922 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/9.72, allocations: 1.952 MB / 4.391 GB, free: 3.953 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/9.733, allocations: 2.047 MB / 4.393 GB, free: 1.926 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5242/10.26, allocations: 11.21 MB / 4.404 GB, free: 177.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005786/10.26, allocations: 3.033 MB / 4.407 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0111/10.27, allocations: 2.04 MB / 4.409 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/10.28, allocations: 393.1 kB / 4.409 GB, free: 176.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/10.28, allocations: 0 / 4.409 GB, free: 176.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1562/10.43, allocations: 90.93 MB / 4.498 GB, free: 171.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)