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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 193.3 kB / 16.13 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 279 kB / 290.2 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 87.75 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1492, allocations: 86.98 MB / 0.6795 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002576/0.1518, allocations: 1.437 MB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1547, allocations: 1.839 MB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.1548, allocations: 0 / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1549, allocations: 11.92 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.1552, allocations: 31.88 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.158, allocations: 1.051 MB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1581, allocations: 79.8 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1582, allocations: 4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1583, allocations: 39.84 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.1584, allocations: 27.91 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1584, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.1598, allocations: 0.85 MB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.1599, allocations: 75.73 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.16, allocations: 59.44 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1613, allocations: 0.8925 MB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1613, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1613, allocations: 0 / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1613, allocations: 0 / 0.6857 GB, free: 10.73 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.0007398/0.162, allocations: 0.58 MB / 0.6863 GB, free: 10.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1621, allocations: 8.031 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1622, allocations: 24.64 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1624, allocations: 226.8 kB / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.1624, allocations: 384 / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1624, allocations: 384 / 0.6866 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1626, allocations: 109.8 kB / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1626, allocations: 0 / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1626, allocations: 0 / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1627, allocations: 0 / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.1627, allocations: 75.97 kB / 0.6867 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.163, allocations: 281.8 kB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1632, allocations: 126.5 kB / 0.6871 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1633, allocations: 112.8 kB / 0.6872 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1633, allocations: 3.938 kB / 0.6872 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1633, allocations: 30.56 kB / 0.6873 GB, free: 9.008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.1634, allocations: 0 / 0.6873 GB, free: 9.008 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004162/0.1638, allocations: 334.9 kB / 0.6876 GB, free: 8.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1638, allocations: 55.41 kB / 0.6876 GB, free: 8.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1641, allocations: 261 kB / 0.6879 GB, free: 8.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1641, allocations: 25.7 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.1642, allocations: 132.7 kB / 0.688 GB, free: 8.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.1643, allocations: 98.45 kB / 0.6881 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1643, allocations: 25.7 kB / 0.6881 GB, free: 8.055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1645, allocations: 346.8 kB / 0.6885 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.541e-05/0.1645, allocations: 75.97 kB / 0.6886 GB, free: 7.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.1646, allocations: 75.97 kB / 0.6886 GB, free: 7.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.1648, allocations: 201.9 kB / 0.6888 GB, free: 7.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1648, allocations: 0 / 0.6888 GB, free: 7.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002361/0.165, allocations: 225.2 kB / 0.689 GB, free: 7.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1651, allocations: 8 kB / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1651, allocations: 0 / 0.689 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1651, allocations: 3.938 kB / 0.689 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.1651, allocations: 0 / 0.689 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1651, allocations: 0 / 0.689 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/0.1652, allocations: 15.78 kB / 0.6891 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1652, allocations: 0 / 0.6891 GB, free: 7.105 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 0.0001277/0.1653, allocations: 162.5 kB / 0.6892 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1654, allocations: 39.58 kB / 0.6893 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.1657, allocations: 252.3 kB / 0.6895 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1657, allocations: 4 kB / 0.6895 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1657, allocations: 0 / 0.6895 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1657, allocations: 0 / 0.6895 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1659, allocations: 277.9 kB / 0.6898 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.166, allocations: 11.92 kB / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.166, allocations: 0 / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.166, allocations: 0 / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.166, allocations: 0 / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.166, allocations: 0 / 0.6898 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.166, allocations: 7.938 kB / 0.6898 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1662, allocations: 252.8 kB / 0.69 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.1663, allocations: 104.6 kB / 0.6901 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1663, allocations: 4.031 kB / 0.6901 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.1664, allocations: 4 kB / 0.6901 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.1664, allocations: 0 / 0.6901 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1664, allocations: 0 / 0.6901 GB, free: 5.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1666, allocations: 192.4 kB / 0.6903 GB, free: 5.711 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1666, allocations: 0 / 0.6903 GB, free: 5.711 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.1673, allocations: 215.8 kB / 0.6905 GB, free: 5.5 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.0009701/0.1682, allocations: 342.6 kB / 0.6908 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1685, allocations: 269.5 kB / 0.6911 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1686, allocations: 0 / 0.6911 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.1687, allocations: 173.6 kB / 0.6913 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.169, allocations: 24.98 kB / 0.6913 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.1697, allocations: 0.5594 MB / 0.6918 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.17, allocations: 0.7673 MB / 0.6926 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.1701, allocations: 0 / 0.6926 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1701, allocations: 11.44 kB / 0.6926 GB, free: 3.297 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1701, allocations: 0 / 0.6926 GB, free: 3.297 MB / 494.1 MB Notification: Performance of Templates: time 0.009111/0.1792, allocations: 4.564 MB / 0.6971 GB, free: 14.79 MB / 0.4981 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)