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.000765/0.000765, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004554/0.004554, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 278 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9149/0.9149, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 18.12 kB / 0.5987 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 88.55 MB / 0.6852 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001322/0.1499, allocations: 1.084 MB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1525, allocations: 1.805 MB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1526, allocations: 0 / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.1526, allocations: 11.98 kB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1528, allocations: 23.84 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.155, allocations: 1.031 MB / 0.6891 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1551, allocations: 79.73 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.677e-05/0.1552, allocations: 4 kB / 0.6891 GB, free: 11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.1553, allocations: 27.91 kB / 0.6892 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.1553, allocations: 31.84 kB / 0.6892 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.1554, allocations: 4 kB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1564, allocations: 0.8384 MB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1565, allocations: 31.91 kB / 0.69 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1565, allocations: 49.52 kB / 0.6901 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009295/0.1575, allocations: 0.807 MB / 0.6909 GB, free: 9.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1575, allocations: 7.938 kB / 0.6909 GB, free: 9.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1575, allocations: 0 / 0.6909 GB, free: 9.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1575, allocations: 0 / 0.6909 GB, free: 9.191 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.0005255/0.158, allocations: 459 kB / 0.6913 GB, free: 8.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1581, allocations: 16.03 kB / 0.6913 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.1581, allocations: 8.844 kB / 0.6913 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1583, allocations: 189.4 kB / 0.6915 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1583, allocations: 4.375 kB / 0.6915 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1583, allocations: 7.875 kB / 0.6915 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1584, allocations: 53.69 kB / 0.6916 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1584, allocations: 0 / 0.6916 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1585, allocations: 3.938 kB / 0.6916 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1585, allocations: 0 / 0.6916 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.1585, allocations: 23.98 kB / 0.6916 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1587, allocations: 189.7 kB / 0.6918 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.1588, allocations: 46.5 kB / 0.6918 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.1588, allocations: 36.83 kB / 0.6919 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1588, allocations: 3.984 kB / 0.6919 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1589, allocations: 34.56 kB / 0.6919 GB, free: 7.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1589, allocations: 0 / 0.6919 GB, free: 7.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001936/0.1591, allocations: 113.6 kB / 0.692 GB, free: 7.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1591, allocations: 55.44 kB / 0.6921 GB, free: 7.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1593, allocations: 154 kB / 0.6922 GB, free: 7.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1593, allocations: 25.7 kB / 0.6922 GB, free: 7.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1593, allocations: 100.1 kB / 0.6923 GB, free: 7.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1594, allocations: 27.56 kB / 0.6924 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1594, allocations: 13.7 kB / 0.6924 GB, free: 7.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1595, allocations: 322.8 kB / 0.6927 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.1596, allocations: 31.92 kB / 0.6927 GB, free: 7.094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.1596, allocations: 27.98 kB / 0.6927 GB, free: 7.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.522e-05/0.1597, allocations: 68.97 kB / 0.6928 GB, free: 6.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1597, allocations: 0 / 0.6928 GB, free: 6.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001043/0.1598, allocations: 85.59 kB / 0.6929 GB, free: 6.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1598, allocations: 7.984 kB / 0.6929 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1598, allocations: 0 / 0.6929 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1598, allocations: 0 / 0.6929 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1598, allocations: 4 kB / 0.6929 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1599, allocations: 320 / 0.6929 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.1599, allocations: 4 kB / 0.6929 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1599, allocations: 4.062 kB / 0.6929 GB, free: 6.887 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.156e-05/0.16, allocations: 130.4 kB / 0.693 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.16, allocations: 15.84 kB / 0.6931 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.1602, allocations: 108.8 kB / 0.6932 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1602, allocations: 3.984 kB / 0.6932 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1602, allocations: 0 / 0.6932 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1602, allocations: 7.984 kB / 0.6932 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1603, allocations: 193.5 kB / 0.6934 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1603, allocations: 8.031 kB / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1603, allocations: 0 / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1603, allocations: 0 / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1603, allocations: 0 / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1604, allocations: 0 / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1604, allocations: 0 / 0.6934 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1605, allocations: 124.9 kB / 0.6935 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1605, allocations: 85 kB / 0.6936 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1605, allocations: 4.031 kB / 0.6936 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.1606, allocations: 4 kB / 0.6936 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.1606, allocations: 0 / 0.6936 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1606, allocations: 0 / 0.6936 GB, free: 6.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.24e-05/0.1607, allocations: 119.2 kB / 0.6937 GB, free: 6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 0 / 0.6937 GB, free: 6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.1612, allocations: 207.9 kB / 0.6939 GB, free: 5.797 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.0006601/0.1618, allocations: 341.1 kB / 0.6942 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.162, allocations: 101.7 kB / 0.6943 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.162, allocations: 0 / 0.6943 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.162, allocations: 69.61 kB / 0.6944 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1622, allocations: 8.5 kB / 0.6944 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1626, allocations: 263.2 kB / 0.6946 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1628, allocations: 0.7004 MB / 0.6953 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.64e-05/0.1628, allocations: 4 kB / 0.6953 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.1629, allocations: 7.438 kB / 0.6953 GB, free: 4.246 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1629, allocations: 0 / 0.6953 GB, free: 4.246 MB / 494.1 MB Notification: Performance of Templates: time 0.00743/0.1703, allocations: 4.278 MB / 0.6995 GB, free: 24 kB / 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)