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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001098/0.001098, allocations: 108 kB / 16.37 MB, free: 6.477 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.001036/0.001036, allocations: 194.7 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8141/0.8141, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3562, allocations: 82.04 MB / 0.5957 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004047/0.3603, allocations: 4.139 MB / 0.5998 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3627, allocations: 2.416 MB / 0.6021 GB, free: 9.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.3629, allocations: 12.91 kB / 0.6022 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3641, allocations: 0.5383 MB / 0.6027 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.3645, allocations: 245.1 kB / 0.6029 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.3647, allocations: 139.8 kB / 0.603 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.3651, allocations: 0.8147 MB / 0.6038 GB, free: 8.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.3655, allocations: 332.8 kB / 0.6042 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.3657, allocations: 283 kB / 0.6044 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.366, allocations: 330.6 kB / 0.6047 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.366, allocations: 72 kB / 0.6048 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.3661, allocations: 76.97 kB / 0.6049 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3662, allocations: 171.4 kB / 0.6051 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.3665, allocations: 390.2 kB / 0.6054 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.367, allocations: 1.021 MB / 0.6064 GB, free: 5.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.367, allocations: 0 / 0.6064 GB, free: 5.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.367, allocations: 4 kB / 0.6064 GB, free: 5.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.367, allocations: 1.5 kB / 0.6064 GB, free: 5.367 MB / 446.1 MB 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.001068/0.3681, allocations: 0.9505 MB / 0.6074 GB, free: 4.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.3681, allocations: 9.438 kB / 0.6074 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.3682, allocations: 76 kB / 0.6074 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3686, allocations: 459.1 kB / 0.6079 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3687, allocations: 37.38 kB / 0.6079 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3687, allocations: 48.38 kB / 0.608 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.3693, allocations: 435.5 kB / 0.6084 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3693, allocations: 0 / 0.6084 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.3694, allocations: 17.5 kB / 0.6084 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3694, allocations: 16 kB / 0.6084 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.37, allocations: 364.8 kB / 0.6088 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.3715, allocations: 1.52 MB / 0.6102 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.3719, allocations: 342.2 kB / 0.6106 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.3723, allocations: 317.9 kB / 0.6109 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3723, allocations: 4 kB / 0.6109 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3723, allocations: 48.02 kB / 0.6109 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.3723, allocations: 0 / 0.6109 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007377/0.3731, allocations: 0.4905 MB / 0.6114 GB, free: 104 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3731, allocations: 56.17 kB / 0.6114 GB, free: 36 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.3736, allocations: 491 kB / 0.6119 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3737, allocations: 33.7 kB / 0.6119 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3738, allocations: 273.4 kB / 0.6122 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3739, allocations: 149.7 kB / 0.6124 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.374, allocations: 63.58 kB / 0.6124 GB, free: 15.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3742, allocations: 362.8 kB / 0.6128 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3744, allocations: 121.9 kB / 0.6129 GB, free: 14.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.3747, allocations: 133.2 kB / 0.613 GB, free: 14.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3751, allocations: 299.3 kB / 0.6133 GB, free: 14.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3752, allocations: 0 / 0.6133 GB, free: 14.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006001/0.3758, allocations: 389.8 kB / 0.6137 GB, free: 13.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3758, allocations: 4 kB / 0.6137 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3758, allocations: 1.031 kB / 0.6137 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3758, allocations: 7.938 kB / 0.6137 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3763, allocations: 125.3 kB / 0.6138 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3763, allocations: 0 / 0.6138 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.3765, allocations: 44.23 kB / 0.6138 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3765, allocations: 10.62 kB / 0.6138 GB, free: 13.54 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.3767, allocations: 193.8 kB / 0.614 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.3768, allocations: 55.28 kB / 0.6141 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3769, allocations: 61.11 kB / 0.6141 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.377, allocations: 4 kB / 0.6141 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.377, allocations: 3.984 kB / 0.6141 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.377, allocations: 2.75 kB / 0.6141 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.3776, allocations: 0.5713 MB / 0.6147 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3776, allocations: 0 / 0.6147 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3781, allocations: 127.8 kB / 0.6148 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3781, allocations: 4 kB / 0.6148 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3781, allocations: 9.5 kB / 0.6148 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3781, allocations: 4 kB / 0.6148 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3781, allocations: 0 / 0.6148 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.3791, allocations: 0.6462 MB / 0.6155 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.3792, allocations: 144.3 kB / 0.6156 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.3793, allocations: 4.5 kB / 0.6156 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3795, allocations: 20.52 kB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.3796, allocations: 25.25 kB / 0.6157 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3796, allocations: 8 kB / 0.6157 GB, free: 11.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.38, allocations: 351.1 kB / 0.616 GB, free: 11.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 1.719 kB / 0.616 GB, free: 11.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.3804, allocations: 147.6 kB / 0.6161 GB, free: 11.09 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.3805, allocations: 115.7 kB / 0.6163 GB, free: 10.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.3811, allocations: 325.5 kB / 0.6166 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3811, allocations: 0 / 0.6166 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.3814, allocations: 184.6 kB / 0.6167 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.382, allocations: 124.5 kB / 0.6169 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3838, allocations: 1.195 MB / 0.618 GB, free: 9.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.3842, allocations: 0.8665 MB / 0.6189 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.3844, allocations: 59.66 kB / 0.6189 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.3845, allocations: 35.44 kB / 0.619 GB, free: 8.188 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3845, allocations: 4 kB / 0.619 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Templates: time 0.01048/0.395, allocations: 5.928 MB / 0.6248 GB, free: 2.414 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)