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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001468/0.001468, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.002218, allocations: 292 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 0.9763/0.9763, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002105, allocations: 90.61 kB / 0.596 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1733, allocations: 86.98 MB / 0.6809 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002789/0.1761, allocations: 1.382 MB / 0.6822 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.179, allocations: 1.775 MB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.1791, allocations: 0 / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.735e-05/0.1792, allocations: 11.92 kB / 0.684 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.1794, allocations: 19.91 kB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.1822, allocations: 1.138 MB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.1823, allocations: 51.77 kB / 0.6852 GB, free: 3.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1823, allocations: 8 kB / 0.6852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.1824, allocations: 27.91 kB / 0.6852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.1825, allocations: 23.86 kB / 0.6852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1825, allocations: 0 / 0.6852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1838, allocations: 0.854 MB / 0.6861 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.1839, allocations: 19.92 kB / 0.6861 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.1839, allocations: 27.8 kB / 0.6861 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.185, allocations: 0.7994 MB / 0.6869 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1851, allocations: 3.938 kB / 0.6869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1851, allocations: 0 / 0.6869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1851, allocations: 4 kB / 0.6869 GB, free: 2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006314/0.1857, allocations: 478.9 kB / 0.6874 GB, free: 1.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1857, allocations: 8.031 kB / 0.6874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1858, allocations: 8.844 kB / 0.6874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.186, allocations: 176.8 kB / 0.6875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.186, allocations: 4.359 kB / 0.6875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.186, allocations: 3.938 kB / 0.6875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1861, allocations: 57.62 kB / 0.6876 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1861, allocations: 4 kB / 0.6876 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1861, allocations: 3.938 kB / 0.6876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1862, allocations: 4 kB / 0.6876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.1862, allocations: 19.98 kB / 0.6876 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.1864, allocations: 201.5 kB / 0.6878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.1865, allocations: 50.5 kB / 0.6879 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.1865, allocations: 28.89 kB / 0.6879 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1865, allocations: 0 / 0.6879 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1866, allocations: 38.5 kB / 0.6879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1866, allocations: 0 / 0.6879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002105/0.1868, allocations: 117.6 kB / 0.688 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1868, allocations: 51.41 kB / 0.6881 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.187, allocations: 155.9 kB / 0.6882 GB, free: 432 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.187, allocations: 33.7 kB / 0.6883 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.1871, allocations: 96.12 kB / 0.6884 GB, free: 292 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1871, allocations: 23.56 kB / 0.6884 GB, free: 268 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1871, allocations: 21.75 kB / 0.6884 GB, free: 240 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2688/0.4559, allocations: 322.4 kB / 0.6887 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.456, allocations: 24.55 kB / 0.6887 GB, free: 17.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.4561, allocations: 21.33 kB / 0.6888 GB, free: 17.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4562, allocations: 64.7 kB / 0.6888 GB, free: 17.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4562, allocations: 0.5938 kB / 0.6888 GB, free: 17.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000176/0.4564, allocations: 95.39 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4564, allocations: 4.75 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.4565, allocations: 3.406 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4565, allocations: 0.5156 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.4565, allocations: 0 / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4565, allocations: 7.531 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.4566, allocations: 0.9062 kB / 0.6889 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4566, allocations: 1.906 kB / 0.6889 GB, free: 17.8 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 8.886e-05/0.4567, allocations: 122.2 kB / 0.6891 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.4567, allocations: 8.562 kB / 0.6891 GB, free: 17.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.4569, allocations: 113.8 kB / 0.6892 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4569, allocations: 1.984 kB / 0.6892 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4569, allocations: 3.938 kB / 0.6892 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4569, allocations: 5 kB / 0.6892 GB, free: 17.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.457, allocations: 193.8 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4571, allocations: 0.5156 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.4571, allocations: 1.781 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4571, allocations: 0.8438 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.4571, allocations: 1.156 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4571, allocations: 0.5625 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4571, allocations: 5.75 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.4572, allocations: 122.3 kB / 0.6895 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.4573, allocations: 84.66 kB / 0.6896 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.4573, allocations: 1.266 kB / 0.6896 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.4573, allocations: 1.688 kB / 0.6896 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.4573, allocations: 7.047 kB / 0.6896 GB, free: 17.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4573, allocations: 1.031 kB / 0.6896 GB, free: 17.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.296e-05/0.4574, allocations: 123.7 kB / 0.6897 GB, free: 17.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4575, allocations: 0.625 kB / 0.6897 GB, free: 17.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006805/0.4581, allocations: 204.5 kB / 0.6899 GB, free: 17.21 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.0007541/0.4589, allocations: 336 kB / 0.6902 GB, free: 17.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.4591, allocations: 95.44 kB / 0.6903 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4591, allocations: 1.531 kB / 0.6903 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.4592, allocations: 67.5 kB / 0.6904 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4594, allocations: 11.7 kB / 0.6904 GB, free: 17.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.4598, allocations: 265.2 kB / 0.6906 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.46, allocations: 0.7085 MB / 0.6913 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.46, allocations: 8.812 kB / 0.6913 GB, free: 16.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.46, allocations: 0 / 0.6913 GB, free: 16.18 MB / 494.1 MB Notification: Performance of Templates: time 0.009383/0.4694, allocations: 3.983 MB / 0.6952 GB, free: 15.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)