Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 1.017/1.017, allocations: 132.4 MB / 139.9 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001387/0.001387, allocations: 165.3 kB / 171.8 MB, free: 2.035 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.409/1.409, allocations: 170.6 MB / 374.2 MB, free: 18.29 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001646/0.001646, allocations: 115.7 kB / 444.8 MB, free: 15.29 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1637/0.1637, allocations: 73.42 MB / 0.6666 GB, free: 14.35 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.993/5.157, allocations: 2.409 GB / 3.075 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/5.157, allocations: 91.95 kB / 3.076 GB, free: 67.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.744/6.901, allocations: 0.5028 GB / 3.578 GB, free: 52.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.624e-06/6.901, allocations: 0 / 3.578 GB, free: 52.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0007068/6.902, allocations: 119 kB / 3.578 GB, free: 52.07 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 939 * Number of variables: 939 Notification: Performance of Generate backend data structure: time 0.01386/6.916, allocations: 4.349 MB / 3.583 GB, free: 47.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/6.916, allocations: 8.031 kB / 3.583 GB, free: 47.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009828/6.926, allocations: 1.364 MB / 3.584 GB, free: 46.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02898/6.955, allocations: 12.05 MB / 3.596 GB, free: 34.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/6.955, allocations: 119.9 kB / 3.596 GB, free: 34.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/6.957, allocations: 231.9 kB / 3.596 GB, free: 34.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01095/6.968, allocations: 4.329 MB / 3.6 GB, free: 29.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/6.981, allocations: 4.404 MB / 3.605 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/6.981, allocations: 11.94 kB / 3.605 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/6.983, allocations: 15.98 kB / 3.605 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/6.983, allocations: 115.9 kB / 3.605 GB, free: 24.94 MB / 0.6198 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.03082/7.014, allocations: 18.88 MB / 3.623 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004462/7.018, allocations: 2.856 MB / 3.626 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/7.02, allocations: 1.63 MB / 3.628 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4538/7.474, allocations: 1.028 MB / 3.629 GB, free: 68.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004477/7.479, allocations: 1.828 MB / 3.63 GB, free: 68.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=272): time 6.191e-06/7.479, allocations: 1.375 kB / 3.63 GB, free: 68.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=281): time 0.09378/7.573, allocations: 13.87 MB / 3.644 GB, free: 67.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/7.573, allocations: 294.8 kB / 3.644 GB, free: 66.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009563/7.582, allocations: 2.794 MB / 3.647 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001321/7.584, allocations: 30.95 kB / 3.647 GB, free: 66.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003586/7.587, allocations: 1.829 MB / 3.649 GB, free: 66.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/7.59, allocations: 0.9204 MB / 3.65 GB, free: 65.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/7.591, allocations: 0 / 3.65 GB, free: 65.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000499/7.592, allocations: 429.1 kB / 3.65 GB, free: 65.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/7.597, allocations: 1.464 MB / 3.652 GB, free: 65.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005709/7.602, allocations: 2.136 MB / 3.654 GB, free: 64.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03352/7.636, allocations: 4.115 MB / 3.658 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.37e-05/7.636, allocations: 3.281 kB / 3.658 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.04615/7.682, allocations: 6.744 MB / 3.664 GB, free: 64.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001681/7.684, allocations: 7.262 MB / 3.671 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/7.684, allocations: 18.19 kB / 3.671 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/7.686, allocations: 0.5307 MB / 3.672 GB, free: 56.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/7.693, allocations: 1.043 MB / 3.673 GB, free: 56.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006383/7.699, allocations: 5.214 MB / 3.678 GB, free: 53.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005894/7.705, allocations: 257.7 kB / 3.678 GB, free: 53.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/7.706, allocations: 159.6 kB / 3.678 GB, free: 53.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/7.706, allocations: 6.969 kB / 3.678 GB, free: 53.64 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0287/7.735, allocations: 6.385 MB / 3.685 GB, free: 53.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-05/7.735, allocations: 19.12 kB / 3.685 GB, free: 53.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/7.737, allocations: 0.5565 MB / 3.685 GB, free: 53.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/7.742, allocations: 0.824 MB / 3.686 GB, free: 53.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/7.748, allocations: 4.564 MB / 3.69 GB, free: 51.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/7.754, allocations: 253.2 kB / 3.691 GB, free: 51.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/7.755, allocations: 155.2 kB / 3.691 GB, free: 51.05 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (384): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002135/7.757, allocations: 181.4 kB / 3.691 GB, free: 50.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/7.759, allocations: 352.7 kB / 3.691 GB, free: 50.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03383/7.793, allocations: 6.585 MB / 3.698 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-05/7.793, allocations: 32.59 kB / 3.698 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/7.793, allocations: 0 / 3.698 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02933/7.823, allocations: 5.72 MB / 3.703 GB, free: 49.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04449/7.867, allocations: 10.81 MB / 3.714 GB, free: 48.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/7.867, allocations: 10.42 kB / 3.714 GB, free: 48.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00515/7.872, allocations: 0.8562 MB / 3.715 GB, free: 48.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/7.874, allocations: 473 kB / 3.715 GB, free: 48.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007665/7.875, allocations: 73.83 kB / 3.715 GB, free: 48.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/7.88, allocations: 8.173 MB / 3.723 GB, free: 41.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/7.88, allocations: 14.42 kB / 3.723 GB, free: 41.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03486/7.915, allocations: 8.635 MB / 3.732 GB, free: 40.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005303/7.921, allocations: 1.01 MB / 3.733 GB, free: 39.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/7.923, allocations: 17.86 kB / 3.733 GB, free: 39.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005895/7.929, allocations: 288.8 kB / 3.733 GB, free: 39.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008425/7.93, allocations: 202.2 kB / 3.733 GB, free: 39.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007768/7.931, allocations: 129.4 kB / 3.733 GB, free: 39.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.005229/7.936, allocations: 2.145 MB / 3.735 GB, free: 39.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.665e-06/7.936, allocations: 0 / 3.735 GB, free: 39.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01377/7.95, allocations: 1.904 MB / 3.737 GB, free: 39.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004648/7.955, allocations: 1.598 MB / 3.739 GB, free: 39.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01537/7.97, allocations: 6.817 MB / 3.745 GB, free: 38.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/7.97, allocations: 1.75 kB / 3.746 GB, free: 38.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006025/7.976, allocations: 2.288 MB / 3.748 GB, free: 38.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/7.987, allocations: 1.731 MB / 3.749 GB, free: 38.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/8.009, allocations: 7.915 MB / 3.757 GB, free: 36.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004727/8.014, allocations: 3.089 MB / 3.76 GB, free: 35.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01119/8.025, allocations: 2.727 MB / 3.763 GB, free: 35.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/8.027, allocations: 313.5 kB / 3.763 GB, free: 35.18 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/8.027, allocations: 0 / 3.763 GB, free: 35.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.1387/8.165, allocations: 85.32 MB / 3.846 GB, free: 9.418 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)