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.001428/0.001428, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.00167/0.00167, allocations: 191 kB / 17.29 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 303.8 kB / 291.4 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9209/0.9209, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 94.67 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 86.98 MB / 0.6816 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002385/0.144, allocations: 1.374 MB / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1465, allocations: 1.787 MB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.1465, allocations: 0 / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.443e-05/0.1466, allocations: 7.922 kB / 0.6847 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1468, allocations: 39.81 kB / 0.6848 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.1491, allocations: 1.144 MB / 0.6859 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.1492, allocations: 51.78 kB / 0.6859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1493, allocations: 3.984 kB / 0.686 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.1493, allocations: 31.86 kB / 0.686 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.1494, allocations: 27.91 kB / 0.686 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1494, allocations: 0 / 0.686 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1505, allocations: 0.8891 MB / 0.6869 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.1506, allocations: 71.73 kB / 0.6869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.1506, allocations: 67.42 kB / 0.687 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.1515, allocations: 0.8728 MB / 0.6879 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1515, allocations: 0 / 0.6879 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1515, allocations: 0 / 0.6879 GB, free: 1.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1515, allocations: 0 / 0.6879 GB, free: 1.023 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.0005645/0.1521, allocations: 0.5917 MB / 0.6884 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1522, allocations: 8.031 kB / 0.6884 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1522, allocations: 20.66 kB / 0.6885 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1524, allocations: 226.8 kB / 0.6887 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-06/0.1524, allocations: 384 / 0.6887 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1524, allocations: 384 / 0.6887 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2314/0.3838, allocations: 105.2 kB / 0.6888 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3838, allocations: 0 / 0.6888 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3838, allocations: 0 / 0.6888 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3839, allocations: 2.656 kB / 0.6888 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.384, allocations: 73.94 kB / 0.6889 GB, free: 18.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.3843, allocations: 275.6 kB / 0.6891 GB, free: 18.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3844, allocations: 132.4 kB / 0.6892 GB, free: 18.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.3845, allocations: 108.5 kB / 0.6893 GB, free: 18.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3845, allocations: 3.812 kB / 0.6894 GB, free: 18.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3845, allocations: 31.72 kB / 0.6894 GB, free: 18.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.432e-06/0.3845, allocations: 0 / 0.6894 GB, free: 18.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003964/0.3849, allocations: 336.6 kB / 0.6897 GB, free: 18.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.385, allocations: 52.11 kB / 0.6898 GB, free: 18.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3852, allocations: 257.7 kB / 0.69 GB, free: 18.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-06/0.3852, allocations: 27.23 kB / 0.69 GB, free: 18.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.3853, allocations: 128.6 kB / 0.6901 GB, free: 18.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.3853, allocations: 110.2 kB / 0.6903 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3854, allocations: 27.67 kB / 0.6903 GB, free: 17.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.3855, allocations: 343 kB / 0.6906 GB, free: 17.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.3855, allocations: 71.77 kB / 0.6907 GB, free: 17.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.3856, allocations: 75.48 kB / 0.6907 GB, free: 17.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3858, allocations: 204.9 kB / 0.6909 GB, free: 17.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3858, allocations: 8.266 kB / 0.691 GB, free: 17.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002222/0.386, allocations: 224.6 kB / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3861, allocations: 7.5 kB / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3861, allocations: 2.594 kB / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3861, allocations: 1.078 kB / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3861, allocations: 0 / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3861, allocations: 4.891 kB / 0.6912 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.3862, allocations: 9.469 kB / 0.6912 GB, free: 17.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3862, allocations: 1.453 kB / 0.6912 GB, free: 17.42 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.892e-05/0.3863, allocations: 159.9 kB / 0.6913 GB, free: 17.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.3863, allocations: 24.34 kB / 0.6914 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.3866, allocations: 253.3 kB / 0.6916 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3866, allocations: 3.312 kB / 0.6916 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3866, allocations: 0 / 0.6916 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3866, allocations: 0 / 0.6916 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3868, allocations: 287.1 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3868, allocations: 1.719 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-06/0.3868, allocations: 2.172 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3868, allocations: 1.344 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3868, allocations: 3.281 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3869, allocations: 0.9688 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3869, allocations: 4.656 kB / 0.6919 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3871, allocations: 257.2 kB / 0.6921 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3871, allocations: 103.9 kB / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3872, allocations: 5.25 kB / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.3872, allocations: 4.875 kB / 0.6923 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.3872, allocations: 5.25 kB / 0.6923 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3872, allocations: 0.6562 kB / 0.6923 GB, free: 16.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3874, allocations: 189.2 kB / 0.6924 GB, free: 16.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3874, allocations: 0 / 0.6924 GB, free: 16.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006006/0.388, allocations: 209.4 kB / 0.6926 GB, free: 16.62 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.0007129/0.3887, allocations: 345.2 kB / 0.693 GB, free: 16.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.389, allocations: 267.5 kB / 0.6932 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.389, allocations: 0 / 0.6932 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.3892, allocations: 179.7 kB / 0.6934 GB, free: 16.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3894, allocations: 17.98 kB / 0.6934 GB, free: 16.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.39, allocations: 496.8 kB / 0.6939 GB, free: 16.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3902, allocations: 0.7713 MB / 0.6946 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.742e-05/0.3902, allocations: 7.297 kB / 0.6946 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.3903, allocations: 10.06 kB / 0.6947 GB, free: 15.38 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3903, allocations: 0.7188 kB / 0.6947 GB, free: 15.38 MB / 494.1 MB Notification: Performance of Templates: time 0.00905/0.3993, allocations: 4.591 MB / 0.6991 GB, free: 15.09 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)