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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001123/0.001123, allocations: 180.8 kB / 366.7 MB, free: 1.695 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.475/1.475, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0007777/0.0007776, allocations: 90.59 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.895e-05/1.898e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.579, allocations: 116.3 MB / 0.9732 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.528/6.107, allocations: 2.358 GB / 3.331 GB, free: 132.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/6.107, allocations: 97.12 kB / 3.331 GB, free: 132.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.936/10.04, allocations: 0.9202 GB / 4.251 GB, free: 171.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/10.04, allocations: 1.125 kB / 4.251 GB, free: 171.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001267/10.04, allocations: 130.5 kB / 4.252 GB, free: 171.4 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.0223/10.07, allocations: 4.251 MB / 4.256 GB, free: 169.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/10.07, allocations: 13.09 kB / 4.256 GB, free: 169.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/10.08, allocations: 1.252 MB / 4.257 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/10.1, allocations: 5.39 MB / 4.262 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004709/10.1, allocations: 117.9 kB / 4.262 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/10.1, allocations: 224.3 kB / 4.263 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01534/10.12, allocations: 4.35 MB / 4.267 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/10.14, allocations: 4.516 MB / 4.271 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/10.14, allocations: 12.44 kB / 4.271 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/10.14, allocations: 6.188 kB / 4.271 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/10.14, allocations: 177 kB / 4.271 GB, free: 168.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0457/10.19, allocations: 18.88 MB / 4.29 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005888/10.19, allocations: 3.126 MB / 4.293 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/10.19, allocations: 1.601 MB / 4.294 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/10.2, allocations: 1.873 MB / 4.296 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/10.2, allocations: 1.77 MB / 4.298 GB, free: 159.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 9.618e-06/10.2, allocations: 0 / 4.298 GB, free: 159.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.06052/10.26, allocations: 7.341 MB / 4.305 GB, free: 159.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/10.26, allocations: 286.5 kB / 4.305 GB, free: 159.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/10.27, allocations: 2.962 MB / 4.308 GB, free: 158.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000565/10.27, allocations: 33.53 kB / 4.308 GB, free: 158.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/10.27, allocations: 1.959 MB / 4.31 GB, free: 158.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/10.27, allocations: 0.8771 MB / 4.311 GB, free: 157.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/10.27, allocations: 0 / 4.311 GB, free: 157.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001784/10.27, allocations: 422.3 kB / 4.312 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/10.27, allocations: 1.286 MB / 4.313 GB, free: 157.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/10.28, allocations: 1.956 MB / 4.315 GB, free: 156.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1461/10.42, allocations: 13.17 MB / 4.328 GB, free: 156.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-05/10.42, allocations: 9.391 kB / 4.328 GB, free: 156.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.1495/10.57, allocations: 15.21 MB / 4.342 GB, free: 155.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001371/10.57, allocations: 7.291 MB / 4.35 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/10.57, allocations: 25.5 kB / 4.35 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/10.57, allocations: 108.7 kB / 4.35 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/10.58, allocations: 0.8139 MB / 4.35 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/10.58, allocations: 2.094 MB / 4.353 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/10.58, allocations: 437.4 kB / 4.353 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/10.58, allocations: 142.4 kB / 4.353 GB, free: 145.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/10.58, allocations: 3.969 kB / 4.353 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1485/10.73, allocations: 14.84 MB / 4.368 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/10.73, allocations: 18.47 kB / 4.368 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/10.73, allocations: 119.4 kB / 4.368 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/10.74, allocations: 0.7982 MB / 4.368 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/10.74, allocations: 1.518 MB / 4.37 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/10.74, allocations: 388.9 kB / 4.37 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/10.75, allocations: 149.4 kB / 4.37 GB, free: 143.2 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 () * 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.001393/10.75, allocations: 181.1 kB / 4.371 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002161/10.75, allocations: 358 kB / 4.371 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05899/10.81, allocations: 8.056 MB / 4.379 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/10.81, allocations: 30.25 kB / 4.379 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/10.81, allocations: 7.969 kB / 4.379 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05433/10.86, allocations: 7.263 MB / 4.386 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06656/10.93, allocations: 12.28 MB / 4.398 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/10.93, allocations: 0 / 4.398 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/10.93, allocations: 0.6403 MB / 4.399 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/10.93, allocations: 90.06 kB / 4.399 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/10.93, allocations: 59.05 kB / 4.399 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/10.93, allocations: 2.098 MB / 4.401 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/10.93, allocations: 3.844 kB / 4.401 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05949/10.99, allocations: 9.58 MB / 4.41 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/11, allocations: 1.051 MB / 4.411 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/11, allocations: 11.31 kB / 4.411 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004016/11, allocations: 290.1 kB / 4.411 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/11, allocations: 170 kB / 4.412 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003271/11, allocations: 131.3 kB / 4.412 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00357/11.01, allocations: 2.286 MB / 4.414 GB, free: 131.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/11.01, allocations: 2.156 kB / 4.414 GB, free: 131.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009436/11.02, allocations: 2.321 MB / 4.416 GB, free: 129.1 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) * 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.003401/11.02, allocations: 1.638 MB / 4.418 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008729/11.03, allocations: 5.347 MB / 4.423 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/11.03, allocations: 2.859 kB / 4.423 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/11.03, allocations: 1.694 MB / 4.425 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009958/11.04, allocations: 1.749 MB / 4.426 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/11.06, allocations: 7.606 MB / 4.434 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/11.06, allocations: 3.124 MB / 4.437 GB, free: 111.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009908/11.07, allocations: 2.749 MB / 4.44 GB, free: 109.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/11.07, allocations: 305.6 kB / 4.44 GB, free: 109.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.084e-06/11.07, allocations: 0 / 4.44 GB, free: 109.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1236/11.19, allocations: 79.45 MB / 4.517 GB, free: 31.58 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)