Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001767, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 12 kB / 0.5159 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 83.41 MB / 0.5973 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004011/0.1695, allocations: 3.256 MB / 0.6005 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1729, allocations: 2.199 MB / 0.6026 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.1734, allocations: 11.94 kB / 0.6027 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.175, allocations: 474.2 kB / 0.6031 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.1758, allocations: 251.3 kB / 0.6034 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1761, allocations: 83.92 kB / 0.6034 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1771, allocations: 0.5697 MB / 0.604 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.1776, allocations: 245.5 kB / 0.6042 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.178, allocations: 231.1 kB / 0.6044 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1783, allocations: 262.9 kB / 0.6047 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.1784, allocations: 36 kB / 0.6047 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1786, allocations: 36 kB / 0.6048 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1787, allocations: 119.5 kB / 0.6049 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.3684/0.5472, allocations: 164.3 kB / 0.605 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5483, allocations: 0.8171 MB / 0.6058 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5483, allocations: 2.562 kB / 0.6058 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5483, allocations: 0 / 0.6058 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5483, allocations: 0.75 kB / 0.6058 GB, free: 36.38 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001251/0.5496, allocations: 0.8444 MB / 0.6067 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5497, allocations: 11.78 kB / 0.6067 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5498, allocations: 72.61 kB / 0.6067 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.5503, allocations: 443.7 kB / 0.6072 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.5503, allocations: 35.41 kB / 0.6072 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.5504, allocations: 51.38 kB / 0.6072 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.5511, allocations: 423.2 kB / 0.6076 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5512, allocations: 1.344 kB / 0.6077 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.5512, allocations: 20.31 kB / 0.6077 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.5512, allocations: 11.22 kB / 0.6077 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.5518, allocations: 379.3 kB / 0.608 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.5536, allocations: 1.545 MB / 0.6096 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.5542, allocations: 336.8 kB / 0.6099 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.5542, allocations: 6.844 kB / 0.6099 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.5542, allocations: 42 kB / 0.6099 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.5542, allocations: 4 kB / 0.6099 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.000923/0.5552, allocations: 0.5022 MB / 0.6104 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5552, allocations: 61.28 kB / 0.6105 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.5557, allocations: 487.8 kB / 0.6109 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5558, allocations: 29.08 kB / 0.611 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.5559, allocations: 274.3 kB / 0.6112 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.556, allocations: 147.2 kB / 0.6114 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.556, allocations: 8.906 kB / 0.6114 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5562, allocations: 362 kB / 0.6117 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5564, allocations: 124.7 kB / 0.6118 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.5566, allocations: 129.1 kB / 0.612 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.5569, allocations: 145.2 kB / 0.6121 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5569, allocations: 0 / 0.6121 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006413/0.5575, allocations: 403.1 kB / 0.6125 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5575, allocations: 6.562 kB / 0.6125 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5576, allocations: 0 / 0.6125 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5576, allocations: 7.016 kB / 0.6125 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.5581, allocations: 133.7 kB / 0.6126 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5581, allocations: 2.844 kB / 0.6126 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.5584, allocations: 48.23 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.5584, allocations: 10.88 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.5587, allocations: 202.3 kB / 0.6129 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.5587, allocations: 50.38 kB / 0.6129 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5588, allocations: 57.7 kB / 0.613 GB, free: 33.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.5589, allocations: 15.92 kB / 0.613 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5589, allocations: 1.375 kB / 0.613 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5589, allocations: 0 / 0.613 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.5596, allocations: 0.5786 MB / 0.6136 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5596, allocations: 4.281 kB / 0.6136 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.56, allocations: 130.4 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.5601, allocations: 2.719 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.5601, allocations: 6.5 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.5601, allocations: 3.281 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5601, allocations: 3.953 kB / 0.6137 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008489/0.561, allocations: 0.6607 MB / 0.6144 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5611, allocations: 133.1 kB / 0.6145 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.5611, allocations: 9.906 kB / 0.6145 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.5614, allocations: 28.89 kB / 0.6145 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.5615, allocations: 24.27 kB / 0.6145 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5615, allocations: 13.45 kB / 0.6146 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003343/0.5618, allocations: 349.5 kB / 0.6149 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5618, allocations: 0 / 0.6149 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003928/0.5622, allocations: 145.6 kB / 0.615 GB, free: 33.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001657/0.5624, allocations: 117.2 kB / 0.6151 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.563, allocations: 335.1 kB / 0.6155 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.563, allocations: 0 / 0.6155 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.5632, allocations: 189 kB / 0.6156 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.5638, allocations: 109.8 kB / 0.6157 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.5655, allocations: 1.438 MB / 0.6171 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5658, allocations: 0.8878 MB / 0.618 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.566, allocations: 52.97 kB / 0.6181 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.5661, allocations: 39.97 kB / 0.6181 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.5661, allocations: 0 / 0.6181 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.008981/0.5751, allocations: 5.368 MB / 0.6233 GB, free: 31.37 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: