Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 293 MB / 309 MB, free: 4.805 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.001828/0.001828, allocations: 179.9 kB / 378.7 MB, free: 1.02 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.824/1.824, allocations: 205.4 MB / 0.6383 GB, free: 8.117 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007486/0.0007481, allocations: 93.33 kB / 0.7527 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004053, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2901, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.587/6.877, allocations: 2.359 GB / 3.349 GB, free: 220.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/6.877, allocations: 97.08 kB / 3.349 GB, free: 220.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.093/9.97, allocations: 0.9236 GB / 4.273 GB, free: 16.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.034e-06/9.97, allocations: 0 / 4.273 GB, free: 16.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005889/9.971, allocations: 131.9 kB / 4.273 GB, free: 16.45 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.01396/9.985, allocations: 5.036 MB / 4.278 GB, free: 11.33 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/9.985, allocations: 8.031 kB / 4.278 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008133/9.993, allocations: 1.255 MB / 4.279 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/10.01, allocations: 5.28 MB / 4.284 GB, free: 4.715 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/10.01, allocations: 275.4 kB / 4.285 GB, free: 4.445 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/10.01, allocations: 387.8 kB / 4.285 GB, free: 4.066 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6316/10.64, allocations: 5.375 MB / 4.29 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/10.64, allocations: 11.19 kB / 4.29 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006578/10.64, allocations: 164.7 kB / 4.29 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/10.64, allocations: 173.3 kB / 4.291 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/10.65, allocations: 5.216 MB / 4.296 GB, free: 112.3 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.04959/10.7, allocations: 19.43 MB / 4.315 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008851/10.71, allocations: 3.604 MB / 4.318 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003814/10.72, allocations: 1.89 MB / 4.32 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/10.72, allocations: 1.86 MB / 4.322 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004057/10.72, allocations: 2.074 MB / 4.324 GB, free: 103.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.891e-06/10.72, allocations: 0 / 4.324 GB, free: 103.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01179/10.73, allocations: 5.089 MB / 4.329 GB, free: 103.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/10.73, allocations: 289.7 kB / 4.329 GB, free: 103.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/10.74, allocations: 3.598 MB / 4.333 GB, free: 102.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007692/10.74, allocations: 80.86 kB / 4.333 GB, free: 102.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/10.74, allocations: 1.956 MB / 4.335 GB, free: 102.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/10.74, allocations: 0.9134 MB / 4.336 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/10.74, allocations: 61.41 kB / 4.336 GB, free: 101.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001653/10.74, allocations: 423.2 kB / 4.336 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/10.75, allocations: 1.545 MB / 4.338 GB, free: 101.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/10.75, allocations: 2.257 MB / 4.34 GB, free: 100.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006778/10.76, allocations: 3.868 MB / 4.344 GB, free: 100.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/10.76, allocations: 6.625 kB / 4.344 GB, free: 100.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.009593/10.77, allocations: 4.357 MB / 4.348 GB, free: 99.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003451/10.77, allocations: 0.597 MB / 4.348 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/10.77, allocations: 19.06 kB / 4.348 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/10.77, allocations: 116.2 kB / 4.348 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/10.77, allocations: 0.7809 MB / 4.349 GB, free: 99.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/10.77, allocations: 2.157 MB / 4.351 GB, free: 97.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/10.78, allocations: 0.494 MB / 4.352 GB, free: 97.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005771/10.78, allocations: 150 kB / 4.352 GB, free: 97.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/10.78, allocations: 7.219 kB / 4.352 GB, free: 97.22 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008417/10.79, allocations: 4.022 MB / 4.356 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/10.79, allocations: 19.03 kB / 4.356 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/10.79, allocations: 116.3 kB / 4.356 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/10.79, allocations: 0.7648 MB / 4.357 GB, free: 97.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/10.79, allocations: 1.58 MB / 4.358 GB, free: 95.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/10.8, allocations: 478.5 kB / 4.359 GB, free: 95.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/10.8, allocations: 145.5 kB / 4.359 GB, free: 95.75 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.003726/10.8, allocations: 1.502 MB / 4.36 GB, free: 95.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/10.8, allocations: 380.9 kB / 4.361 GB, free: 95.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009358/10.81, allocations: 4.354 MB / 4.365 GB, free: 95.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/10.81, allocations: 33.41 kB / 4.365 GB, free: 95.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/10.81, allocations: 0.9375 kB / 4.365 GB, free: 95.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006572/10.82, allocations: 3.486 MB / 4.368 GB, free: 94.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/10.84, allocations: 8.931 MB / 4.377 GB, free: 94.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/10.84, allocations: 2.438 kB / 4.377 GB, free: 94.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/10.84, allocations: 0.6543 MB / 4.378 GB, free: 94.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/10.84, allocations: 95.42 kB / 4.378 GB, free: 94.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/10.84, allocations: 90.55 kB / 4.378 GB, free: 94.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/10.84, allocations: 2.157 MB / 4.38 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/10.84, allocations: 0 / 4.38 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/10.86, allocations: 6.006 MB / 4.386 GB, free: 91.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005258/10.86, allocations: 1.037 MB / 4.387 GB, free: 91.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/10.86, allocations: 63.73 kB / 4.387 GB, free: 91.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00409/10.87, allocations: 337.5 kB / 4.387 GB, free: 91.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/10.87, allocations: 175.5 kB / 4.388 GB, free: 91.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/10.87, allocations: 132.7 kB / 4.388 GB, free: 91.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004084/10.87, allocations: 2.523 MB / 4.39 GB, free: 91.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/10.87, allocations: 0 / 4.39 GB, free: 91.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008071/10.88, allocations: 2.416 MB / 4.392 GB, free: 91.15 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.003176/10.88, allocations: 1.626 MB / 4.394 GB, free: 90.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01341/10.9, allocations: 6.119 MB / 4.4 GB, free: 90.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/10.9, allocations: 1.328 kB / 4.4 GB, free: 90.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/10.9, allocations: 1.955 MB / 4.402 GB, free: 90.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/10.91, allocations: 2.049 MB / 4.404 GB, free: 90.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/10.94, allocations: 11.21 MB / 4.415 GB, free: 86.47 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/10.94, allocations: 3.037 MB / 4.418 GB, free: 85.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01012/10.95, allocations: 2.036 MB / 4.42 GB, free: 85.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/10.95, allocations: 393.4 kB / 4.42 GB, free: 85.65 MB / 0.948 GB Notification: Performance of SimCode: time 8.02e-07/10.95, allocations: 0 / 4.42 GB, free: 85.65 MB / 0.948 GB Notification: Performance of Templates: time 0.1575/11.11, allocations: 90.91 MB / 4.509 GB, free: 80.18 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)