Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00714/0.00714, allocations: 100.7 kB / 15.73 MB, free: 6.496 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.001733/0.001733, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 286.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 95.84 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 86.97 MB / 0.7665 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002104/0.1435, allocations: 1.373 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.146, allocations: 1.791 MB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1461, allocations: 0 / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.339e-05/0.1462, allocations: 11.92 kB / 0.7696 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1463, allocations: 31.88 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.1486, allocations: 1.16 MB / 0.7707 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.1487, allocations: 43.8 kB / 0.7708 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.1488, allocations: 7.984 kB / 0.7708 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.1488, allocations: 31.86 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.1489, allocations: 27.89 kB / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1489, allocations: 0 / 0.7708 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.15, allocations: 0.8891 MB / 0.7717 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.1501, allocations: 63.81 kB / 0.7718 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.1502, allocations: 71.36 kB / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009048/0.1511, allocations: 0.8768 MB / 0.7727 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1511, allocations: 4 kB / 0.7727 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1511, allocations: 4 kB / 0.7727 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1511, allocations: 0 / 0.7727 GB, free: 1.973 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005937/0.1517, allocations: 0.58 MB / 0.7733 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1518, allocations: 11.97 kB / 0.7733 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1518, allocations: 24.56 kB / 0.7733 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.152, allocations: 222.9 kB / 0.7735 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.152, allocations: 384 / 0.7735 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.152, allocations: 384 / 0.7735 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1521, allocations: 109.7 kB / 0.7736 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1522, allocations: 4 kB / 0.7736 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1522, allocations: 0 / 0.7736 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1522, allocations: 4 kB / 0.7736 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.1523, allocations: 75.95 kB / 0.7737 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1525, allocations: 273.9 kB / 0.7739 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1526, allocations: 126.5 kB / 0.7741 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.1527, allocations: 112.8 kB / 0.7742 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1527, allocations: 3.938 kB / 0.7742 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1528, allocations: 34.56 kB / 0.7742 GB, free: 256 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.302e-06/0.1528, allocations: 0 / 0.7742 GB, free: 256 kB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.2914/0.4442, allocations: 334.8 kB / 0.7745 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4442, allocations: 52.66 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.4445, allocations: 256 kB / 0.7748 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.4445, allocations: 26.33 kB / 0.7749 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.4446, allocations: 128.7 kB / 0.775 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.4446, allocations: 102.1 kB / 0.7751 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.4447, allocations: 27.2 kB / 0.7751 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.4448, allocations: 340.7 kB / 0.7754 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.4448, allocations: 76.17 kB / 0.7755 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.4449, allocations: 71.95 kB / 0.7756 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4451, allocations: 203.6 kB / 0.7758 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4451, allocations: 0 / 0.7758 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002219/0.4454, allocations: 233.2 kB / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4454, allocations: 6.484 kB / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4454, allocations: 0.7188 kB / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4454, allocations: 8.234 kB / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.4454, allocations: 0 / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4454, allocations: 2.031 kB / 0.776 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.4455, allocations: 10.47 kB / 0.776 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4455, allocations: 1.031 kB / 0.776 GB, free: 14.2 MB / 0.5606 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.677e-05/0.4456, allocations: 156.3 kB / 0.7762 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.4456, allocations: 24.47 kB / 0.7762 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.4459, allocations: 261.8 kB / 0.7764 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4459, allocations: 1.234 kB / 0.7764 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4459, allocations: 1.375 kB / 0.7764 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4459, allocations: 0.8438 kB / 0.7764 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.4461, allocations: 281.3 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4461, allocations: 3.828 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.4461, allocations: 1.359 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4461, allocations: 1.875 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.4461, allocations: 4.969 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4461, allocations: 2.219 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4461, allocations: 1 kB / 0.7767 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4464, allocations: 253.7 kB / 0.777 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.4464, allocations: 105.8 kB / 0.7771 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4464, allocations: 4.688 kB / 0.7771 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.4465, allocations: 2.062 kB / 0.7771 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.4465, allocations: 5.656 kB / 0.7771 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4465, allocations: 2.203 kB / 0.7771 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001466/0.4467, allocations: 196.3 kB / 0.7773 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4467, allocations: 0 / 0.7773 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005932/0.4473, allocations: 211.2 kB / 0.7775 GB, free: 13.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006535/0.4479, allocations: 339 kB / 0.7778 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4482, allocations: 266.7 kB / 0.778 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4482, allocations: 0 / 0.778 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.4484, allocations: 178.2 kB / 0.7782 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.4486, allocations: 14.3 kB / 0.7782 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.4491, allocations: 0.4901 MB / 0.7787 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.4493, allocations: 0.7697 MB / 0.7795 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.4494, allocations: 4 kB / 0.7795 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.4494, allocations: 10.5 kB / 0.7795 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4494, allocations: 0.5625 kB / 0.7795 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.008044/0.4574, allocations: 4.627 MB / 0.784 GB, free: 12.18 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)