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 0.8028/0.8028, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.001138/0.001138, allocations: 164.2 kB / 180.8 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.759/1.759, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001686/0.001686, allocations: 108.8 kB / 454.6 MB, free: 9.734 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.1962/0.1967, allocations: 73.39 MB / 0.6812 GB, free: 5.598 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.677/6.873, allocations: 2.41 GB / 3.091 GB, free: 33.89 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/6.874, allocations: 95.95 kB / 3.091 GB, free: 33.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/8.781, allocations: 0.507 GB / 3.598 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.958e-06/8.782, allocations: 4 kB / 3.598 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0008689/8.782, allocations: 115.9 kB / 3.598 GB, free: 12.12 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.01983/8.802, allocations: 5.137 MB / 3.603 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/8.802, allocations: 12.56 kB / 3.603 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/8.813, allocations: 1.367 MB / 3.604 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.524/9.337, allocations: 12.17 MB / 3.616 GB, free: 62.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/9.337, allocations: 285.9 kB / 3.616 GB, free: 62.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/9.339, allocations: 377.9 kB / 3.617 GB, free: 62.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/9.354, allocations: 5.316 MB / 3.622 GB, free: 62.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/9.354, allocations: 13.47 kB / 3.622 GB, free: 62.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/9.354, allocations: 164.5 kB / 3.622 GB, free: 62.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/9.354, allocations: 109.9 kB / 3.622 GB, free: 62.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/9.368, allocations: 5.26 MB / 3.627 GB, free: 62.14 MB / 0.6198 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.04159/9.41, allocations: 19.59 MB / 3.647 GB, free: 54.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009536/9.419, allocations: 3.422 MB / 3.65 GB, free: 54.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/9.421, allocations: 1.033 MB / 3.651 GB, free: 53.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005969/9.427, allocations: 2.182 MB / 3.653 GB, free: 53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=272): time 1.216e-05/9.427, allocations: 0 / 3.653 GB, free: 53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=290): time 0.03403/9.461, allocations: 11.46 MB / 3.664 GB, free: 51.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/9.461, allocations: 292.5 kB / 3.664 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008328/9.469, allocations: 3.324 MB / 3.668 GB, free: 50.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/9.47, allocations: 83.64 kB / 3.668 GB, free: 50.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002263/9.473, allocations: 1.83 MB / 3.67 GB, free: 50.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/9.474, allocations: 0.9807 MB / 3.671 GB, free: 49.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/9.475, allocations: 64.17 kB / 3.671 GB, free: 49.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002557/9.475, allocations: 436.5 kB / 3.671 GB, free: 49.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/9.48, allocations: 1.847 MB / 3.673 GB, free: 49.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00508/9.485, allocations: 2.546 MB / 3.675 GB, free: 48.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/9.49, allocations: 2.254 MB / 3.678 GB, free: 48.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/9.49, allocations: 3.125 kB / 3.678 GB, free: 48.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01389/9.504, allocations: 5.451 MB / 3.683 GB, free: 48.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002247/9.506, allocations: 7.392 MB / 3.69 GB, free: 40.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.214e-05/9.506, allocations: 16.66 kB / 3.69 GB, free: 40.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/9.509, allocations: 0.5413 MB / 3.691 GB, free: 40.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007187/9.516, allocations: 1.08 MB / 3.692 GB, free: 40.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/9.525, allocations: 5.587 MB / 3.697 GB, free: 37.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/9.532, allocations: 331.1 kB / 3.697 GB, free: 37.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/9.534, allocations: 160.3 kB / 3.698 GB, free: 37.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/9.534, allocations: 5.594 kB / 3.698 GB, free: 37.09 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01923/9.553, allocations: 5.1 MB / 3.703 GB, free: 36.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/9.553, allocations: 18.19 kB / 3.703 GB, free: 36.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/9.556, allocations: 0.5625 MB / 3.703 GB, free: 36.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005745/9.562, allocations: 0.8735 MB / 3.704 GB, free: 36.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/9.57, allocations: 4.923 MB / 3.709 GB, free: 34.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007735/9.578, allocations: 321.2 kB / 3.709 GB, free: 34.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/9.58, allocations: 165.1 kB / 3.709 GB, free: 34.3 MB / 0.6198 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 388 * 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.006628/9.586, allocations: 1.502 MB / 3.711 GB, free: 34.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002608/9.589, allocations: 378.2 kB / 3.711 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/9.606, allocations: 5.298 MB / 3.716 GB, free: 33.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/9.606, allocations: 34.78 kB / 3.716 GB, free: 33.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/9.606, allocations: 0 / 3.716 GB, free: 33.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00979/9.616, allocations: 4.323 MB / 3.721 GB, free: 33.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/9.639, allocations: 9.962 MB / 3.73 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/9.639, allocations: 7.016 kB / 3.73 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005152/9.644, allocations: 0.9004 MB / 3.731 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/9.645, allocations: 490.4 kB / 3.732 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/9.646, allocations: 110 kB / 3.732 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007739/9.653, allocations: 8.45 MB / 3.74 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/9.654, allocations: 6.906 kB / 3.74 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/9.67, allocations: 7.637 MB / 3.747 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/9.674, allocations: 1.069 MB / 3.748 GB, free: 36.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/9.676, allocations: 76.17 kB / 3.749 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/9.681, allocations: 340.4 kB / 3.749 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004325/9.681, allocations: 209.1 kB / 3.749 GB, free: 35.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003726/9.681, allocations: 132.8 kB / 3.749 GB, free: 35.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00448/9.686, allocations: 2.61 MB / 3.752 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.8e-07/9.686, allocations: 4 kB / 3.752 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01082/9.697, allocations: 2.115 MB / 3.754 GB, free: 34.71 MB / 0.6355 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 280 * 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.003642/9.7, allocations: 1.603 MB / 3.755 GB, free: 34.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01933/9.72, allocations: 7.968 MB / 3.763 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/9.72, allocations: 0 / 3.763 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007926/9.728, allocations: 2.662 MB / 3.766 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/9.739, allocations: 2.018 MB / 3.768 GB, free: 30.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/9.763, allocations: 11.66 MB / 3.779 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/9.766, allocations: 3.111 MB / 3.782 GB, free: 23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009088/9.776, allocations: 2.07 MB / 3.784 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/9.777, allocations: 400.5 kB / 3.785 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/9.777, allocations: 0 / 3.785 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.6522/10.43, allocations: 99.21 MB / 3.881 GB, free: 70.72 MB / 0.6511 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)