Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001266/0.001266, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.8637/0.8637, allocations: 143.1 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.88 kB / 0.5144 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4347, allocations: 82.03 MB / 0.5945 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004333/0.4391, allocations: 3.062 MB / 0.5975 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.4418, allocations: 2.109 MB / 0.5995 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.4422, allocations: 8 kB / 0.5995 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.4439, allocations: 475.5 kB / 0.6 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.4444, allocations: 137.5 kB / 0.6001 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.4445, allocations: 55.97 kB / 0.6002 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.4449, allocations: 443.3 kB / 0.6006 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.4451, allocations: 156.7 kB / 0.6008 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.4453, allocations: 163.3 kB / 0.6009 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.4455, allocations: 183.2 kB / 0.6011 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.4455, allocations: 35.94 kB / 0.6011 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.4456, allocations: 37.34 kB / 0.6012 GB, free: 9.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.4457, allocations: 95.67 kB / 0.6012 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4458, allocations: 218.9 kB / 0.6015 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.4462, allocations: 474.8 kB / 0.6019 GB, free: 8.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4462, allocations: 5 kB / 0.6019 GB, free: 8.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4462, allocations: 0 / 0.6019 GB, free: 8.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4462, allocations: 0 / 0.6019 GB, free: 8.785 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008719/0.4471, allocations: 0.7013 MB / 0.6026 GB, free: 8.039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4471, allocations: 8.031 kB / 0.6026 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.4472, allocations: 48.38 kB / 0.6027 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.4476, allocations: 375.4 kB / 0.603 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4476, allocations: 16.81 kB / 0.603 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.4476, allocations: 16.38 kB / 0.603 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.448, allocations: 208.8 kB / 0.6032 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.448, allocations: 0 / 0.6032 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.448, allocations: 15.94 kB / 0.6033 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.448, allocations: 5.031 kB / 0.6033 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.4484, allocations: 166.7 kB / 0.6034 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.4493, allocations: 0.8626 MB / 0.6043 GB, free: 6.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.4495, allocations: 157.9 kB / 0.6044 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4497, allocations: 110.1 kB / 0.6045 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.4497, allocations: 4 kB / 0.6045 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4498, allocations: 35.91 kB / 0.6046 GB, free: 5.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.4498, allocations: 0 / 0.6046 GB, free: 5.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004955/0.4503, allocations: 262.2 kB / 0.6048 GB, free: 5.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.4503, allocations: 60.69 kB / 0.6049 GB, free: 5.578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.4506, allocations: 413.7 kB / 0.6053 GB, free: 5.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.4507, allocations: 33.7 kB / 0.6053 GB, free: 5.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.4508, allocations: 209.6 kB / 0.6055 GB, free: 4.922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.4508, allocations: 59.11 kB / 0.6055 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.4509, allocations: 34.42 kB / 0.6056 GB, free: 4.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.42e-05/0.4509, allocations: 351.8 kB / 0.6059 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.4511, allocations: 51.97 kB / 0.606 GB, free: 4.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4512, allocations: 59.52 kB / 0.606 GB, free: 4.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4514, allocations: 138 kB / 0.6062 GB, free: 4.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4514, allocations: 0 / 0.6062 GB, free: 4.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003025/0.4518, allocations: 208.7 kB / 0.6063 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4518, allocations: 4.5 kB / 0.6064 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4518, allocations: 0 / 0.6064 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4518, allocations: 5.844 kB / 0.6064 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.452, allocations: 55.97 kB / 0.6064 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4521, allocations: 0 / 0.6064 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.4522, allocations: 21.23 kB / 0.6064 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4522, allocations: 8 kB / 0.6064 GB, free: 3.934 MB / 446.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 (20): * Single equations (assignments): 20 * 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.0001151/0.4524, allocations: 166.4 kB / 0.6066 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.4524, allocations: 36.44 kB / 0.6066 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.4525, allocations: 47.47 kB / 0.6067 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4525, allocations: 4.844 kB / 0.6067 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4525, allocations: 0 / 0.6067 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4525, allocations: 5.172 kB / 0.6067 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.4528, allocations: 377.2 kB / 0.607 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4528, allocations: 0 / 0.607 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.4531, allocations: 53.44 kB / 0.6071 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4531, allocations: 0 / 0.6071 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4531, allocations: 7.938 kB / 0.6071 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4531, allocations: 4 kB / 0.6071 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4531, allocations: 9.578 kB / 0.6071 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.4536, allocations: 375.5 kB / 0.6075 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.4537, allocations: 112.7 kB / 0.6076 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.4537, allocations: 11.94 kB / 0.6076 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4539, allocations: 8.828 kB / 0.6076 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.4539, allocations: 14.08 kB / 0.6076 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4539, allocations: 4 kB / 0.6076 GB, free: 2.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.4542, allocations: 307.1 kB / 0.6079 GB, free: 2.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4542, allocations: 0 / 0.6079 GB, free: 2.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4544, allocations: 71.84 kB / 0.608 GB, free: 2.266 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001074/0.4546, allocations: 121.4 kB / 0.6081 GB, free: 2.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.4549, allocations: 151.8 kB / 0.6082 GB, free: 1.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4549, allocations: 2.625 kB / 0.6082 GB, free: 1.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.455, allocations: 79.91 kB / 0.6083 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.4556, allocations: 96.86 kB / 0.6084 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.4567, allocations: 0.8979 MB / 0.6093 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4569, allocations: 0.8029 MB / 0.6101 GB, free: 108 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.457, allocations: 23.44 kB / 0.6101 GB, free: 84 kB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.457, allocations: 4 kB / 0.6101 GB, free: 80 kB / 446.1 MB Notification: Performance of Templates: time 0.006304/0.4633, allocations: 4.354 MB / 0.6144 GB, free: 11.77 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)