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.001445/0.001445, allocations: 106 kB / 16.35 MB, free: 5.824 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.00127/0.00127, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 292.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8843/0.8843, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 99.98 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1378, allocations: 86.97 MB / 0.6816 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002176/0.14, allocations: 1.372 MB / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1423, allocations: 1.787 MB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.1424, allocations: 0 / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.1425, allocations: 11.92 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1426, allocations: 31.88 kB / 0.6848 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1449, allocations: 1.151 MB / 0.6859 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.145, allocations: 51.78 kB / 0.686 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.145, allocations: 3.984 kB / 0.686 GB, free: 3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.1451, allocations: 23.92 kB / 0.686 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.1452, allocations: 31.84 kB / 0.686 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1452, allocations: 4 kB / 0.686 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1462, allocations: 0.889 MB / 0.6869 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.1463, allocations: 71.75 kB / 0.6869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.1463, allocations: 63.42 kB / 0.687 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008751/0.1472, allocations: 0.8768 MB / 0.6879 GB, free: 1.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1472, allocations: 0 / 0.6879 GB, free: 1.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1472, allocations: 0 / 0.6879 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1472, allocations: 0 / 0.6879 GB, free: 1.039 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.0005605/0.1478, allocations: 0.5878 MB / 0.6884 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1479, allocations: 8.031 kB / 0.6884 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1479, allocations: 28.66 kB / 0.6885 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1481, allocations: 222.8 kB / 0.6887 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.1481, allocations: 384 / 0.6887 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.1481, allocations: 384 / 0.6887 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1482, allocations: 105.8 kB / 0.6888 GB, free: 0 / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1482, allocations: 0 / 0.6888 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1483, allocations: 0 / 0.6888 GB, free: 0 / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1483, allocations: 0 / 0.6888 GB, free: 0 / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2297/0.378, allocations: 75.41 kB / 0.6889 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.3783, allocations: 279.8 kB / 0.6891 GB, free: 18.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3785, allocations: 120.8 kB / 0.6892 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.3786, allocations: 108.8 kB / 0.6893 GB, free: 17.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.3786, allocations: 7.531 kB / 0.6894 GB, free: 17.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.3786, allocations: 32.75 kB / 0.6894 GB, free: 17.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.3786, allocations: 0 / 0.6894 GB, free: 17.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.000393/0.379, allocations: 340 kB / 0.6897 GB, free: 17.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3791, allocations: 53.75 kB / 0.6898 GB, free: 17.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3793, allocations: 257.5 kB / 0.69 GB, free: 17.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.3793, allocations: 25.7 kB / 0.69 GB, free: 17.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.3794, allocations: 129.4 kB / 0.6902 GB, free: 17.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.3794, allocations: 105.6 kB / 0.6903 GB, free: 17.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3795, allocations: 26.88 kB / 0.6903 GB, free: 17.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.3795, allocations: 341.2 kB / 0.6906 GB, free: 17.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.3796, allocations: 78.61 kB / 0.6907 GB, free: 17.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.3797, allocations: 75.55 kB / 0.6908 GB, free: 17.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3799, allocations: 205.3 kB / 0.6909 GB, free: 17.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3799, allocations: 1.531 kB / 0.6909 GB, free: 17.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002166/0.3801, allocations: 222.2 kB / 0.6912 GB, free: 17.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3802, allocations: 6.391 kB / 0.6912 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3802, allocations: 6.719 kB / 0.6912 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3802, allocations: 4.547 kB / 0.6912 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3802, allocations: 0.875 kB / 0.6912 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3802, allocations: 0 / 0.6912 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.3803, allocations: 13.78 kB / 0.6912 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.3803, allocations: 1.875 kB / 0.6912 GB, free: 17.18 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 9.788e-05/0.3804, allocations: 156 kB / 0.6913 GB, free: 17.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.3804, allocations: 26.53 kB / 0.6914 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.3807, allocations: 254.1 kB / 0.6916 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3807, allocations: 1.422 kB / 0.6916 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3807, allocations: 1.156 kB / 0.6916 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3807, allocations: 2.406 kB / 0.6916 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3809, allocations: 276.7 kB / 0.6919 GB, free: 16.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3809, allocations: 2.391 kB / 0.6919 GB, free: 16.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3809, allocations: 0.7188 kB / 0.6919 GB, free: 16.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3809, allocations: 2.188 kB / 0.6919 GB, free: 16.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3809, allocations: 5.297 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3809, allocations: 2.719 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3809, allocations: 2.359 kB / 0.6919 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3811, allocations: 258 kB / 0.6921 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.3812, allocations: 100.5 kB / 0.6922 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3812, allocations: 7.766 kB / 0.6922 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.3813, allocations: 3.438 kB / 0.6922 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.3813, allocations: 6.641 kB / 0.6923 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.3813, allocations: 4.703 kB / 0.6923 GB, free: 16.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3814, allocations: 189.2 kB / 0.6924 GB, free: 16.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3814, allocations: 1.219 kB / 0.6924 GB, free: 16.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005887/0.382, allocations: 205.1 kB / 0.6926 GB, free: 16.41 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.0007118/0.3828, allocations: 341.1 kB / 0.693 GB, free: 16.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.383, allocations: 272.3 kB / 0.6932 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3831, allocations: 0.9375 kB / 0.6932 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3832, allocations: 178.6 kB / 0.6934 GB, free: 16.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3834, allocations: 14.94 kB / 0.6934 GB, free: 16.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006124/0.384, allocations: 497.1 kB / 0.6939 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.3842, allocations: 0.772 MB / 0.6946 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3843, allocations: 6.766 kB / 0.6946 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.3843, allocations: 10.53 kB / 0.6946 GB, free: 15.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3843, allocations: 0 / 0.6946 GB, free: 15.18 MB / 494.1 MB Notification: Performance of Templates: time 0.01009/0.3944, allocations: 4.588 MB / 0.6991 GB, free: 14.89 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)