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.713/1.713, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001048/0.001048, allocations: 181.1 kB / 371.6 MB, free: 3.406 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.799/1.799, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009073/0.0009071, allocations: 90.16 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.811e-05, allocations: 0 / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.592/7.874, allocations: 2.359 GB / 3.338 GB, free: 192.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/7.875, allocations: 91.33 kB / 3.338 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.052/11.93, allocations: 0.926 GB / 4.264 GB, free: 116.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/11.93, allocations: 1.406 kB / 4.264 GB, free: 116.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0012/11.93, allocations: 123.2 kB / 4.265 GB, free: 116.9 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.01722/11.94, allocations: 4.259 MB / 4.269 GB, free: 116.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/11.94, allocations: 8.5 kB / 4.269 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/11.96, allocations: 1.249 MB / 4.27 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/11.98, allocations: 5.393 MB / 4.275 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/11.98, allocations: 279.4 kB / 4.275 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/11.98, allocations: 370.2 kB / 4.276 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/11.99, allocations: 5.038 MB / 4.281 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/11.99, allocations: 15.03 kB / 4.281 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/11.99, allocations: 160.2 kB / 4.281 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/12, allocations: 174.2 kB / 4.281 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00954/12, allocations: 4.64 MB / 4.286 GB, free: 114.9 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.03436/12.04, allocations: 19.59 MB / 4.305 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/12.04, allocations: 3.269 MB / 4.308 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/12.05, allocations: 1.691 MB / 4.31 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/12.05, allocations: 1.862 MB / 4.311 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003136/12.05, allocations: 1.855 MB / 4.313 GB, free: 106.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.099e-06/12.05, allocations: 0 / 4.313 GB, free: 106.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.00714/12.06, allocations: 3.151 MB / 4.316 GB, free: 106 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/12.06, allocations: 287 kB / 4.317 GB, free: 105.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00669/12.07, allocations: 3.429 MB / 4.32 GB, free: 105.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/12.07, allocations: 78.64 kB / 4.32 GB, free: 105.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/12.07, allocations: 1.971 MB / 4.322 GB, free: 104.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/12.07, allocations: 0.9042 MB / 4.323 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/12.07, allocations: 60.48 kB / 4.323 GB, free: 104.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000198/12.07, allocations: 427.8 kB / 4.323 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/12.07, allocations: 1.341 MB / 4.325 GB, free: 103.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/12.08, allocations: 2.04 MB / 4.327 GB, free: 103.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/12.08, allocations: 1.694 MB / 4.328 GB, free: 103.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/12.08, allocations: 6.438 kB / 4.328 GB, free: 103.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.007977/12.09, allocations: 3.951 MB / 4.332 GB, free: 102.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001832/12.09, allocations: 7.418 MB / 4.339 GB, free: 94.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/12.09, allocations: 14.69 kB / 4.339 GB, free: 94.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/12.09, allocations: 120.5 kB / 4.339 GB, free: 94.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/12.09, allocations: 0.8092 MB / 4.34 GB, free: 94.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/12.1, allocations: 2.153 MB / 4.342 GB, free: 93.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/12.1, allocations: 0.513 MB / 4.343 GB, free: 92.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/12.11, allocations: 147.2 kB / 4.343 GB, free: 92.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/12.11, allocations: 3.375 kB / 4.343 GB, free: 92.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/12.12, allocations: 3.615 MB / 4.347 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.66e-05/12.12, allocations: 18.88 kB / 4.347 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/12.12, allocations: 113.8 kB / 4.347 GB, free: 92.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/12.12, allocations: 0.8068 MB / 4.347 GB, free: 92.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/12.12, allocations: 1.564 MB / 4.349 GB, free: 91.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006053/12.13, allocations: 489.7 kB / 4.349 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/12.13, allocations: 149.4 kB / 4.35 GB, free: 91.36 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.001904/12.13, allocations: 290.3 kB / 4.35 GB, free: 91.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/12.13, allocations: 387.5 kB / 4.35 GB, free: 91.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/12.14, allocations: 3.958 MB / 4.354 GB, free: 90.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/12.14, allocations: 32.8 kB / 4.354 GB, free: 90.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/12.15, allocations: 4.438 kB / 4.354 GB, free: 90.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005551/12.15, allocations: 3.083 MB / 4.357 GB, free: 90.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/12.17, allocations: 8.599 MB / 4.366 GB, free: 89.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/12.17, allocations: 0 / 4.366 GB, free: 89.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/12.18, allocations: 0.641 MB / 4.366 GB, free: 89.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/12.18, allocations: 89.06 kB / 4.366 GB, free: 89.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005517/12.18, allocations: 87.53 kB / 4.366 GB, free: 89.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/12.18, allocations: 2.156 MB / 4.368 GB, free: 87.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/12.18, allocations: 3.844 kB / 4.368 GB, free: 87.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/12.19, allocations: 5.478 MB / 4.374 GB, free: 87.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004398/12.2, allocations: 1.083 MB / 4.375 GB, free: 86.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002073/12.2, allocations: 55.38 kB / 4.375 GB, free: 86.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005306/12.2, allocations: 341.9 kB / 4.375 GB, free: 86.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005809/12.2, allocations: 179.2 kB / 4.375 GB, free: 86.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006528/12.21, allocations: 134.1 kB / 4.376 GB, free: 86.92 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006097/12.21, allocations: 2.695 MB / 4.378 GB, free: 86.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/12.21, allocations: 0 / 4.378 GB, free: 86.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01262/12.22, allocations: 2.437 MB / 4.381 GB, free: 86.44 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.004697/12.23, allocations: 1.604 MB / 4.382 GB, free: 86.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01368/12.24, allocations: 5.607 MB / 4.388 GB, free: 85.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/12.24, allocations: 4.516 kB / 4.388 GB, free: 85.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/12.25, allocations: 1.751 MB / 4.389 GB, free: 85.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0147/12.26, allocations: 2.034 MB / 4.391 GB, free: 85.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/12.29, allocations: 7.832 MB / 4.399 GB, free: 84.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005365/12.29, allocations: 3.128 MB / 4.402 GB, free: 83.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01502/12.31, allocations: 3.02 MB / 4.405 GB, free: 83.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/12.31, allocations: 321 kB / 4.405 GB, free: 83.37 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/12.31, allocations: 0.5625 kB / 4.405 GB, free: 83.37 MB / 0.948 GB Notification: Performance of Templates: time 0.1712/12.48, allocations: 98.86 MB / 4.502 GB, free: 77.91 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)