Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008953/0.0008951, allocations: 182.2 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 94.83 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 17.94 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 106.3 MB / 0.9012 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.61/5.855, allocations: 2.475 GB / 3.376 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/5.855, allocations: 101.1 kB / 3.376 GB, free: 79.83 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.922/8.777, allocations: 0.9024 GB / 4.278 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.124e-06/8.777, allocations: 6.125 kB / 4.278 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006167/8.778, allocations: 122.8 kB / 4.278 GB, free: 182.5 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.0132/8.791, allocations: 5.022 MB / 4.283 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/8.791, allocations: 11.75 kB / 4.283 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/8.798, allocations: 1.25 MB / 4.285 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/8.81, allocations: 5.281 MB / 4.29 GB, free: 177.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/8.81, allocations: 279.6 kB / 4.29 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/8.812, allocations: 378.3 kB / 4.29 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/8.825, allocations: 5.325 MB / 4.296 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/8.825, allocations: 10.47 kB / 4.296 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/8.826, allocations: 160.4 kB / 4.296 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/8.826, allocations: 174.8 kB / 4.296 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/8.837, allocations: 5.22 MB / 4.301 GB, free: 173.4 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.03038/8.867, allocations: 19.39 MB / 4.32 GB, free: 161 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006789/8.874, allocations: 3.603 MB / 4.323 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003419/8.878, allocations: 1.889 MB / 4.325 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/8.879, allocations: 1.867 MB / 4.327 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003971/8.883, allocations: 2.041 MB / 4.329 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 7.033e-06/8.883, allocations: 0 / 4.329 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.01177/8.895, allocations: 5.088 MB / 4.334 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/8.895, allocations: 287.1 kB / 4.334 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/8.902, allocations: 3.599 MB / 4.338 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003682/8.902, allocations: 77.7 kB / 4.338 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/8.904, allocations: 1.961 MB / 4.34 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/8.905, allocations: 0.912 MB / 4.341 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/8.905, allocations: 60 kB / 4.341 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001462/8.905, allocations: 420 kB / 4.341 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/8.908, allocations: 1.549 MB / 4.343 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/8.911, allocations: 2.248 MB / 4.345 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/8.918, allocations: 3.876 MB / 4.349 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/8.918, allocations: 7.938 kB / 4.349 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.008672/8.926, allocations: 4.358 MB / 4.353 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002875/8.927, allocations: 0.6019 MB / 4.354 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/8.927, allocations: 16 kB / 4.354 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/8.927, allocations: 108.8 kB / 4.354 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/8.931, allocations: 0.7916 MB / 4.354 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/8.932, allocations: 2.157 MB / 4.357 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/8.937, allocations: 0.4965 MB / 4.357 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/8.937, allocations: 147.9 kB / 4.357 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/8.937, allocations: 4 kB / 4.357 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007591/8.945, allocations: 4.03 MB / 4.361 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/8.945, allocations: 16 kB / 4.361 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/8.945, allocations: 109.4 kB / 4.361 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/8.948, allocations: 0.7683 MB / 4.362 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/8.95, allocations: 1.564 MB / 4.364 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/8.954, allocations: 477.1 kB / 4.364 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/8.955, allocations: 143.9 kB / 4.364 GB, free: 116.9 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.003054/8.958, allocations: 1.508 MB / 4.366 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/8.959, allocations: 383.3 kB / 4.366 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009752/8.969, allocations: 4.347 MB / 4.37 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/8.969, allocations: 28 kB / 4.37 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/8.969, allocations: 0 / 4.37 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006732/8.976, allocations: 3.488 MB / 4.374 GB, free: 107 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/8.994, allocations: 8.898 MB / 4.382 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/8.994, allocations: 0 / 4.382 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/8.997, allocations: 0.6632 MB / 4.383 GB, free: 97.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/8.997, allocations: 88.78 kB / 4.383 GB, free: 97.28 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003276/8.998, allocations: 87.92 kB / 4.383 GB, free: 97.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/8.999, allocations: 2.159 MB / 4.385 GB, free: 94.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/8.999, allocations: 3.938 kB / 4.385 GB, free: 94.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/9.01, allocations: 5.998 MB / 4.391 GB, free: 88.78 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/9.013, allocations: 1.026 MB / 4.392 GB, free: 87.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/9.014, allocations: 63.92 kB / 4.392 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/9.018, allocations: 331.3 kB / 4.392 GB, free: 87.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/9.018, allocations: 178 kB / 4.393 GB, free: 87.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/9.019, allocations: 123.9 kB / 4.393 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0047/9.023, allocations: 2.522 MB / 4.395 GB, free: 84.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.4e-07/9.024, allocations: 0 / 4.395 GB, free: 84.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008238/9.032, allocations: 2.415 MB / 4.398 GB, free: 82.12 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.003203/9.035, allocations: 1.614 MB / 4.399 GB, free: 80.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01299/9.048, allocations: 6.12 MB / 4.405 GB, free: 74.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/9.048, allocations: 0.5625 kB / 4.405 GB, free: 74.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/9.052, allocations: 1.956 MB / 4.407 GB, free: 72.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/9.062, allocations: 2.04 MB / 4.409 GB, free: 70.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/9.079, allocations: 11.21 MB / 4.42 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/9.083, allocations: 3.033 MB / 4.423 GB, free: 56.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008583/9.091, allocations: 2.028 MB / 4.425 GB, free: 54.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/9.093, allocations: 391.2 kB / 4.425 GB, free: 54.25 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/9.093, allocations: 4 kB / 4.425 GB, free: 54.25 MB / 0.8855 GB Notification: Performance of Templates: time 0.9212/10.01, allocations: 90.31 MB / 4.513 GB, free: 155.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)