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.001177/0.001177, allocations: 102.2 kB / 16.27 MB, free: 6 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.001144/0.001144, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 286.9 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 94.64 kB / 0.596 GB, free: 15.08 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1989, allocations: 86.98 MB / 0.6809 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003092/0.202, allocations: 1.36 MB / 0.6822 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.206, allocations: 1.791 MB / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.2061, allocations: 0 / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2063, allocations: 11.92 kB / 0.684 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.2066, allocations: 31.83 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.2102, allocations: 1.147 MB / 0.6851 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.2103, allocations: 51.77 kB / 0.6852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.2104, allocations: 4 kB / 0.6852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2105, allocations: 27.84 kB / 0.6852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.2106, allocations: 31.92 kB / 0.6852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2106, allocations: 3.984 kB / 0.6853 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.2123, allocations: 0.8462 MB / 0.6861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2124, allocations: 71.75 kB / 0.6861 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.2125, allocations: 59.44 kB / 0.6862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2144, allocations: 0.8848 MB / 0.6871 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2144, allocations: 0 / 0.6871 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2144, allocations: 0 / 0.6871 GB, free: 1.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2144, allocations: 0 / 0.6871 GB, free: 1.785 MB / 494.1 MB 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.001118/0.2155, allocations: 0.58 MB / 0.6876 GB, free: 1.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2156, allocations: 8.031 kB / 0.6876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.2157, allocations: 24.64 kB / 0.6877 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.216, allocations: 222.8 kB / 0.6879 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.216, allocations: 384 / 0.6879 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.216, allocations: 384 / 0.6879 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2162, allocations: 105.8 kB / 0.688 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2162, allocations: 4 kB / 0.688 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2162, allocations: 0 / 0.688 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2162, allocations: 4 kB / 0.688 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.884e-05/0.2164, allocations: 83.91 kB / 0.6881 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.2167, allocations: 277.8 kB / 0.6883 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2168, allocations: 122.5 kB / 0.6885 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.217, allocations: 108.9 kB / 0.6886 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.217, allocations: 3.938 kB / 0.6886 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.217, allocations: 30.56 kB / 0.6886 GB, free: 68 kB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.217, allocations: 4 kB / 0.6886 GB, free: 64 kB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.3405/0.5576, allocations: 332.8 kB / 0.6889 GB, free: 18.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5576, allocations: 51.41 kB / 0.689 GB, free: 18.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.5579, allocations: 257.6 kB / 0.6892 GB, free: 17.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.5579, allocations: 27.05 kB / 0.6892 GB, free: 17.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.558, allocations: 127.2 kB / 0.6894 GB, free: 17.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.5581, allocations: 107.4 kB / 0.6895 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.5581, allocations: 26.44 kB / 0.6895 GB, free: 17.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.5582, allocations: 341.4 kB / 0.6898 GB, free: 17.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.5583, allocations: 78.67 kB / 0.6899 GB, free: 17.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.5584, allocations: 71.83 kB / 0.6899 GB, free: 17.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.5586, allocations: 209.4 kB / 0.6901 GB, free: 17.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5587, allocations: 1.938 kB / 0.6901 GB, free: 17.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002645/0.5589, allocations: 227.6 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.559, allocations: 5.391 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.559, allocations: 4.969 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.559, allocations: 0.6094 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.559, allocations: 0.75 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.559, allocations: 0.8438 kB / 0.6904 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.5591, allocations: 13.05 kB / 0.6904 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.5591, allocations: 0 / 0.6904 GB, free: 17.37 MB / 494.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 (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 0.0001292/0.5592, allocations: 156.8 kB / 0.6905 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.5593, allocations: 27.16 kB / 0.6906 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.5596, allocations: 261.3 kB / 0.6908 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5596, allocations: 2.547 kB / 0.6908 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5596, allocations: 0.8438 kB / 0.6908 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5596, allocations: 0 / 0.6908 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5598, allocations: 284.8 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5599, allocations: 7.828 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-07/0.5599, allocations: 0 / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5599, allocations: 0.8906 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.5599, allocations: 0.875 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5599, allocations: 1.156 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5599, allocations: 1.281 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.5602, allocations: 256.4 kB / 0.6913 GB, free: 16.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.5602, allocations: 109.8 kB / 0.6915 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.5603, allocations: 1.625 kB / 0.6915 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.5603, allocations: 0 / 0.6915 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.5603, allocations: 3.062 kB / 0.6915 GB, free: 16.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5603, allocations: 0.8125 kB / 0.6915 GB, free: 16.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.5605, allocations: 191 kB / 0.6916 GB, free: 16.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5605, allocations: 3.188 kB / 0.6916 GB, free: 16.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.5613, allocations: 206.8 kB / 0.6918 GB, free: 16.71 MB / 494.1 MB 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.0007668/0.5621, allocations: 346.1 kB / 0.6922 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.5624, allocations: 268.8 kB / 0.6924 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.5624, allocations: 0 / 0.6924 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.5626, allocations: 181 kB / 0.6926 GB, free: 16.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5629, allocations: 22.42 kB / 0.6926 GB, free: 16.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.5636, allocations: 0.5303 MB / 0.6931 GB, free: 16.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.5639, allocations: 0.7663 MB / 0.6939 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.5639, allocations: 9.125 kB / 0.6939 GB, free: 15.51 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.5639, allocations: 0 / 0.6939 GB, free: 15.51 MB / 494.1 MB Notification: Performance of Templates: time 0.0109/0.5748, allocations: 4.685 MB / 0.6985 GB, free: 15.05 MB / 494.1 MB 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)