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.001023/0.001023, allocations: 102.4 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.0009577/0.0009577, 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 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.002038/0.002038, allocations: 298.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8971/0.8971, allocations: 169.3 MB / 0.4989 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 108.4 kB / 0.5967 GB, free: 3.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1428, allocations: 86.97 MB / 0.6817 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002173/0.145, allocations: 1.37 MB / 0.683 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.1474, allocations: 1.775 MB / 0.6847 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1474, allocations: 7.938 kB / 0.6847 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.1475, allocations: 7.922 kB / 0.6847 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.1476, allocations: 31.84 kB / 0.6848 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1498, allocations: 1.141 MB / 0.6859 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.1499, allocations: 51.77 kB / 0.6859 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.013e-05/0.1499, allocations: 4 kB / 0.6859 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.15, allocations: 23.86 kB / 0.686 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.15, allocations: 27.91 kB / 0.686 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1501, allocations: 0 / 0.686 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1511, allocations: 0.8891 MB / 0.6869 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1511, allocations: 23.91 kB / 0.6869 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.1512, allocations: 27.81 kB / 0.6869 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.152, allocations: 0.8029 MB / 0.6877 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.152, allocations: 0 / 0.6877 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.152, allocations: 0 / 0.6877 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.152, allocations: 4 kB / 0.6877 GB, free: 6.152 MB / 0.5294 GB 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.0004436/0.1525, allocations: 474.9 kB / 0.6881 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.1525, allocations: 12.03 kB / 0.6882 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1525, allocations: 8.844 kB / 0.6882 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1527, allocations: 184.7 kB / 0.6883 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1527, allocations: 8.312 kB / 0.6883 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1527, allocations: 11.86 kB / 0.6884 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.1528, allocations: 53.69 kB / 0.6884 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1528, allocations: 0 / 0.6884 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1528, allocations: 0 / 0.6884 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1529, allocations: 7.922 kB / 0.6884 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/0.1529, allocations: 28 kB / 0.6884 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.1531, allocations: 185.6 kB / 0.6886 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1531, allocations: 50.45 kB / 0.6887 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1532, allocations: 32.88 kB / 0.6887 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1532, allocations: 0 / 0.6887 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.1532, allocations: 38.56 kB / 0.6887 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.1532, allocations: 0 / 0.6887 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0001717/0.1534, allocations: 125.7 kB / 0.6889 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1534, allocations: 51.41 kB / 0.6889 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1536, allocations: 153.6 kB / 0.6891 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1536, allocations: 25.7 kB / 0.6891 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.1536, allocations: 92.14 kB / 0.6892 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1536, allocations: 27.8 kB / 0.6892 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1537, allocations: 21.66 kB / 0.6892 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.1538, allocations: 326.8 kB / 0.6895 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1538, allocations: 24.02 kB / 0.6895 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.1539, allocations: 35.95 kB / 0.6896 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.1539, allocations: 56.84 kB / 0.6896 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1539, allocations: 0 / 0.6896 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.154, allocations: 93.58 kB / 0.6897 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1541, allocations: 10.03 kB / 0.6897 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1541, allocations: 0 / 0.6897 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1541, allocations: 0 / 0.6897 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.1541, allocations: 0 / 0.6897 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1541, allocations: 0 / 0.6897 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.1541, allocations: 15.89 kB / 0.6898 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1541, allocations: 4 kB / 0.6898 GB, free: 3.812 MB / 0.5294 GB 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 6.985e-05/0.1542, allocations: 125.8 kB / 0.6899 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1542, allocations: 3.906 kB / 0.6899 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.1544, allocations: 102.4 kB / 0.69 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1544, allocations: 3.938 kB / 0.69 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1544, allocations: 0 / 0.69 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1544, allocations: 0 / 0.69 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.1545, allocations: 205.5 kB / 0.6902 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1545, allocations: 4 kB / 0.6902 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1545, allocations: 0 / 0.6902 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1545, allocations: 0 / 0.6902 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.1546, allocations: 4 kB / 0.6902 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1546, allocations: 4 kB / 0.6902 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1546, allocations: 0 / 0.6902 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1547, allocations: 124.9 kB / 0.6903 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.1547, allocations: 88.95 kB / 0.6904 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1547, allocations: 4.031 kB / 0.6904 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.1548, allocations: 0 / 0.6904 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.1548, allocations: 3.984 kB / 0.6904 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1548, allocations: 4 kB / 0.6904 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.877e-05/0.1549, allocations: 119.2 kB / 0.6905 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 0 / 0.6905 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000434/0.1553, allocations: 199.9 kB / 0.6907 GB, free: 2.734 MB / 0.5294 GB 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.0005892/0.1559, allocations: 344.3 kB / 0.691 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1561, allocations: 97.67 kB / 0.6911 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1561, allocations: 3.938 kB / 0.6911 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.1561, allocations: 65.69 kB / 0.6912 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.1563, allocations: 8.484 kB / 0.6912 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.1566, allocations: 223.5 kB / 0.6914 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1568, allocations: 0.7041 MB / 0.6921 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.1569, allocations: 8.109 kB / 0.6921 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.1569, allocations: 7.438 kB / 0.6921 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1569, allocations: 0 / 0.6921 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of Templates: time 0.006848/0.1637, allocations: 4.315 MB / 0.6963 GB, free: 12.96 MB / 0.545 GB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)