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.001281/0.001281, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001105/0.001105, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.19 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.8099/0.8099, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.5156 GB, free: 14.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3299, allocations: 82.03 MB / 0.5957 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003203/0.3331, allocations: 3.028 MB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.335, allocations: 2.154 MB / 0.6008 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3352, allocations: 8 kB / 0.6008 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.3362, allocations: 0.4885 MB / 0.6013 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3364, allocations: 152.8 kB / 0.6014 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.48e-05/0.3365, allocations: 55.95 kB / 0.6015 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.3368, allocations: 451.1 kB / 0.6019 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.337, allocations: 156.6 kB / 0.6021 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3372, allocations: 155.4 kB / 0.6022 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3373, allocations: 183.2 kB / 0.6024 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.3374, allocations: 37.34 kB / 0.6024 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.3374, allocations: 32 kB / 0.6025 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.3375, allocations: 99.61 kB / 0.6025 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3376, allocations: 215 kB / 0.6028 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3379, allocations: 0.5697 MB / 0.6033 GB, free: 8.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.338, allocations: 0 / 0.6033 GB, free: 8.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.338, allocations: 0 / 0.6033 GB, free: 8.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.338, allocations: 3.938 kB / 0.6033 GB, free: 8.348 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.0008922/0.3389, allocations: 0.7039 MB / 0.604 GB, free: 7.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3389, allocations: 8.031 kB / 0.604 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.339, allocations: 49.88 kB / 0.6041 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.3394, allocations: 374.1 kB / 0.6044 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3395, allocations: 18.16 kB / 0.6044 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.3395, allocations: 20.38 kB / 0.6044 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.3399, allocations: 205.1 kB / 0.6046 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3399, allocations: 0 / 0.6046 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3399, allocations: 4 kB / 0.6046 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3399, allocations: 8 kB / 0.6047 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.3403, allocations: 171 kB / 0.6048 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000936/0.3412, allocations: 0.8602 MB / 0.6057 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3415, allocations: 159.5 kB / 0.6058 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.3416, allocations: 108.8 kB / 0.6059 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.3417, allocations: 5.219 kB / 0.6059 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3417, allocations: 34.56 kB / 0.606 GB, free: 5.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3417, allocations: 0.5938 kB / 0.606 GB, free: 5.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004756/0.3422, allocations: 256.9 kB / 0.6062 GB, free: 5.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.3422, allocations: 56.5 kB / 0.6062 GB, free: 5.152 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3425, allocations: 417.6 kB / 0.6066 GB, free: 4.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3426, allocations: 31.52 kB / 0.6067 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3427, allocations: 208.2 kB / 0.6069 GB, free: 4.492 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.3427, allocations: 63.09 kB / 0.6069 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.3428, allocations: 38.64 kB / 0.607 GB, free: 4.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.3428, allocations: 350.8 kB / 0.6073 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.343, allocations: 53.12 kB / 0.6074 GB, free: 3.984 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3431, allocations: 56.53 kB / 0.6074 GB, free: 3.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3433, allocations: 144.9 kB / 0.6076 GB, free: 3.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3433, allocations: 0 / 0.6076 GB, free: 3.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002892/0.3436, allocations: 201.2 kB / 0.6077 GB, free: 3.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3436, allocations: 5.562 kB / 0.6077 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3436, allocations: 0 / 0.6077 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3437, allocations: 3.938 kB / 0.6078 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3439, allocations: 56.44 kB / 0.6078 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3439, allocations: 1.094 kB / 0.6078 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.344, allocations: 23.83 kB / 0.6078 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.344, allocations: 0 / 0.6078 GB, free: 3.5 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.000106/0.3442, allocations: 167.7 kB / 0.608 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.3442, allocations: 39.53 kB / 0.608 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.3443, allocations: 43.53 kB / 0.6081 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3443, allocations: 3.25 kB / 0.6081 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3443, allocations: 3.938 kB / 0.6081 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3443, allocations: 3.984 kB / 0.6081 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.3446, allocations: 381.3 kB / 0.6084 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3446, allocations: 0 / 0.6084 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.3448, allocations: 47.97 kB / 0.6085 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3448, allocations: 0 / 0.6085 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3448, allocations: 11.94 kB / 0.6085 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3449, allocations: 0.75 kB / 0.6085 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3449, allocations: 3.984 kB / 0.6085 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3453, allocations: 383.4 kB / 0.6089 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3454, allocations: 113.9 kB / 0.609 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3454, allocations: 7.938 kB / 0.609 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3456, allocations: 7.984 kB / 0.609 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.3456, allocations: 13.48 kB / 0.609 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3456, allocations: 4 kB / 0.609 GB, free: 2.199 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.3459, allocations: 307.1 kB / 0.6093 GB, free: 1.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3459, allocations: 0.6875 kB / 0.6093 GB, free: 1.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3462, allocations: 71.84 kB / 0.6094 GB, free: 1.836 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.0001025/0.3463, allocations: 112.7 kB / 0.6095 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3466, allocations: 143.5 kB / 0.6096 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3466, allocations: 0 / 0.6096 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3467, allocations: 80.45 kB / 0.6097 GB, free: 1.504 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.3472, allocations: 102 kB / 0.6098 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.3482, allocations: 0.7515 MB / 0.6105 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3484, allocations: 0.7951 MB / 0.6113 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3485, allocations: 38.95 kB / 0.6113 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.3486, allocations: 27.44 kB / 0.6114 GB, free: 15.79 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3486, allocations: 0 / 0.6114 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Templates: time 0.007578/0.3561, allocations: 3.948 MB / 0.6152 GB, free: 11.97 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)