Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.614/2.614, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001432/0.001431, allocations: 185.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009736/0.0009732, allocations: 92.41 kB / 0.7438 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 11.25 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.503/7.735, allocations: 2.358 GB / 3.337 GB, free: 331.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/7.735, allocations: 101.6 kB / 3.337 GB, free: 331.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.322/12.06, allocations: 0.9236 GB / 4.261 GB, free: 140.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/12.06, allocations: 0 / 4.261 GB, free: 140.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007963/12.06, allocations: 126 kB / 4.261 GB, free: 140.1 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.02028/12.08, allocations: 5.03 MB / 4.266 GB, free: 135.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/12.08, allocations: 8.031 kB / 4.266 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/12.09, allocations: 1.251 MB / 4.267 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.019/12.11, allocations: 5.288 MB / 4.272 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/12.11, allocations: 281.4 kB / 4.272 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/12.11, allocations: 378.1 kB / 4.273 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/12.13, allocations: 5.385 MB / 4.278 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/12.13, allocations: 11.88 kB / 4.278 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008146/12.13, allocations: 163 kB / 4.278 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/12.13, allocations: 171.2 kB / 4.278 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/12.15, allocations: 5.219 MB / 4.283 GB, free: 116.8 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.04781/12.2, allocations: 19.45 MB / 4.302 GB, free: 96.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/12.21, allocations: 3.601 MB / 4.306 GB, free: 93.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00662/12.22, allocations: 1.887 MB / 4.308 GB, free: 91.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/12.22, allocations: 1.862 MB / 4.31 GB, free: 89.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007805/12.23, allocations: 2.071 MB / 4.312 GB, free: 87.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.361e-06/12.23, allocations: 0 / 4.312 GB, free: 87.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.0238/12.25, allocations: 5.091 MB / 4.317 GB, free: 81.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/12.25, allocations: 291.1 kB / 4.317 GB, free: 81.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00884/12.26, allocations: 3.591 MB / 4.32 GB, free: 77.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009502/12.26, allocations: 85.69 kB / 4.32 GB, free: 77.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/12.27, allocations: 1.956 MB / 4.322 GB, free: 75.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/12.27, allocations: 0.9165 MB / 4.323 GB, free: 74.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/12.27, allocations: 60 kB / 4.323 GB, free: 74.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002428/12.27, allocations: 428 kB / 4.324 GB, free: 74.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006093/12.28, allocations: 1.54 MB / 4.325 GB, free: 72.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007065/12.28, allocations: 2.249 MB / 4.327 GB, free: 70.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/12.3, allocations: 3.872 MB / 4.331 GB, free: 66.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/12.3, allocations: 4 kB / 4.331 GB, free: 66.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01848/12.31, allocations: 4.368 MB / 4.335 GB, free: 61.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003314/12.32, allocations: 0.6021 MB / 4.336 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/12.32, allocations: 16 kB / 4.336 GB, free: 60.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/12.32, allocations: 112.8 kB / 4.336 GB, free: 60.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007693/12.32, allocations: 0.78 MB / 4.337 GB, free: 60.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/12.33, allocations: 2.161 MB / 4.339 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007846/12.34, allocations: 0.5004 MB / 4.34 GB, free: 57.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/12.34, allocations: 143.9 kB / 4.34 GB, free: 57.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/12.34, allocations: 4 kB / 4.34 GB, free: 57.09 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01667/12.35, allocations: 4.03 MB / 4.344 GB, free: 53.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/12.35, allocations: 16 kB / 4.344 GB, free: 53.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000942/12.35, allocations: 113.2 kB / 4.344 GB, free: 52.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007317/12.36, allocations: 0.7645 MB / 4.345 GB, free: 52.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/12.36, allocations: 1.571 MB / 4.346 GB, free: 50.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/12.37, allocations: 469.1 kB / 4.346 GB, free: 49.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009714/12.37, allocations: 147.9 kB / 4.347 GB, free: 49.82 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.004662/12.38, allocations: 1.51 MB / 4.348 GB, free: 48.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/12.38, allocations: 383.3 kB / 4.348 GB, free: 47.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/12.4, allocations: 4.346 MB / 4.353 GB, free: 43.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-05/12.4, allocations: 35.98 kB / 4.353 GB, free: 43.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/12.4, allocations: 0 / 4.353 GB, free: 43.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01395/12.41, allocations: 3.488 MB / 4.356 GB, free: 39.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02949/12.44, allocations: 8.926 MB / 4.365 GB, free: 30.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/12.44, allocations: 7.375 kB / 4.365 GB, free: 30.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006842/12.45, allocations: 0.6554 MB / 4.366 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/12.45, allocations: 96.7 kB / 4.366 GB, free: 30.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007274/12.45, allocations: 87.92 kB / 4.366 GB, free: 30 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/12.45, allocations: 2.161 MB / 4.368 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/12.45, allocations: 4.031 kB / 4.368 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/12.47, allocations: 5.999 MB / 4.374 GB, free: 21.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00579/12.48, allocations: 1.042 MB / 4.375 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/12.48, allocations: 59.98 kB / 4.375 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/12.49, allocations: 331.4 kB / 4.375 GB, free: 20.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/12.49, allocations: 181.9 kB / 4.375 GB, free: 19.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006147/12.49, allocations: 131.9 kB / 4.375 GB, free: 19.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006779/12.5, allocations: 2.522 MB / 4.378 GB, free: 17.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.41e-07/12.5, allocations: 0 / 4.378 GB, free: 17.31 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01205/12.51, allocations: 2.416 MB / 4.38 GB, free: 14.89 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.004564/12.52, allocations: 1.625 MB / 4.382 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02302/12.54, allocations: 6.116 MB / 4.388 GB, free: 7.293 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/12.54, allocations: 5.328 kB / 4.388 GB, free: 7.289 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/12.55, allocations: 1.952 MB / 4.39 GB, free: 5.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01895/12.56, allocations: 2.058 MB / 4.392 GB, free: 3.281 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8002/13.36, allocations: 11.19 MB / 4.403 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007334/13.37, allocations: 3.038 MB / 4.406 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01603/13.39, allocations: 2.037 MB / 4.408 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/13.39, allocations: 390.8 kB / 4.408 GB, free: 177.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/13.39, allocations: 0 / 4.408 GB, free: 177.5 MB / 0.948 GB Notification: Performance of Templates: time 0.223/13.61, allocations: 89.93 MB / 4.496 GB, free: 173.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)