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.001614/0.001614, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001586/0.001586, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.002589, allocations: 290.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5069 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 96.8 kB / 0.606 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1569, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002533/0.1595, allocations: 1.436 MB / 0.6944 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1623, allocations: 1.783 MB / 0.6962 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1623, allocations: 4 kB / 0.6962 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.93e-05/0.1624, allocations: 7.922 kB / 0.6962 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1626, allocations: 27.89 kB / 0.6962 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.1651, allocations: 1.063 MB / 0.6973 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.1652, allocations: 43.78 kB / 0.6973 GB, free: 336 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.1653, allocations: 4 kB / 0.6973 GB, free: 332 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.1654, allocations: 31.84 kB / 0.6973 GB, free: 300 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.1654, allocations: 19.92 kB / 0.6974 GB, free: 280 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.1654, allocations: 0 / 0.6974 GB, free: 280 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1666, allocations: 0.858 MB / 0.6982 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1667, allocations: 27.8 kB / 0.6982 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.1667, allocations: 23.81 kB / 0.6982 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.1677, allocations: 0.7876 MB / 0.699 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1677, allocations: 0 / 0.699 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1677, allocations: 4 kB / 0.699 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1678, allocations: 0 / 0.699 GB, free: 14.57 MB / 0.4981 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.0005945/0.1684, allocations: 470.9 kB / 0.6995 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1684, allocations: 12.03 kB / 0.6995 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1684, allocations: 12.84 kB / 0.6995 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1687, allocations: 188.6 kB / 0.6997 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.1687, allocations: 4.375 kB / 0.6997 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1687, allocations: 3.938 kB / 0.6997 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1688, allocations: 57.69 kB / 0.6997 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1688, allocations: 3.938 kB / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1688, allocations: 0 / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1688, allocations: 0 / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.1689, allocations: 24 kB / 0.6998 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.1691, allocations: 193.6 kB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.1692, allocations: 58.42 kB / 0.7 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1693, allocations: 28.89 kB / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1693, allocations: 0 / 0.7 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1693, allocations: 42.55 kB / 0.7001 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.1693, allocations: 0 / 0.7001 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002207/0.1695, allocations: 117.5 kB / 0.7002 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.1696, allocations: 59.38 kB / 0.7002 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1698, allocations: 153.6 kB / 0.7004 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1698, allocations: 25.7 kB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.1699, allocations: 96.12 kB / 0.7005 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1699, allocations: 27.56 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1699, allocations: 21.7 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1701, allocations: 322.8 kB / 0.7008 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.1701, allocations: 23.98 kB / 0.7009 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.1702, allocations: 27.98 kB / 0.7009 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.1703, allocations: 60.83 kB / 0.701 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1703, allocations: 0 / 0.701 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001184/0.1704, allocations: 97.67 kB / 0.701 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1704, allocations: 9.719 kB / 0.7011 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1704, allocations: 3.984 kB / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1705, allocations: 0 / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1705, allocations: 0 / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1705, allocations: 0 / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.1705, allocations: 0 / 0.7011 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1705, allocations: 8.062 kB / 0.7011 GB, free: 12.23 MB / 0.4981 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 9.864e-05/0.1706, allocations: 125.8 kB / 0.7012 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1706, allocations: 7.812 kB / 0.7012 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.1708, allocations: 102.4 kB / 0.7013 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1708, allocations: 0 / 0.7013 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1708, allocations: 0 / 0.7013 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1708, allocations: 3.938 kB / 0.7013 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.171, allocations: 201.5 kB / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1711, allocations: 0 / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1711, allocations: 4.031 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1711, allocations: 4 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1711, allocations: 3.938 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1711, allocations: 0 / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1711, allocations: 0 / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1712, allocations: 117 kB / 0.7016 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.1713, allocations: 96.91 kB / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1713, allocations: 0 / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.1714, allocations: 4.031 kB / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1714, allocations: 0 / 0.7017 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1714, allocations: 4 kB / 0.7017 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.1715, allocations: 121.6 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1715, allocations: 0 / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005475/0.172, allocations: 199.9 kB / 0.702 GB, free: 11.16 MB / 0.4981 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.0007384/0.1728, allocations: 343.2 kB / 0.7023 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.173, allocations: 97.61 kB / 0.7024 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.173, allocations: 4.062 kB / 0.7024 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.173, allocations: 65.69 kB / 0.7025 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1733, allocations: 12.47 kB / 0.7025 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.1737, allocations: 250.1 kB / 0.7028 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.174, allocations: 0.7041 MB / 0.7034 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.1741, allocations: 0 / 0.7034 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.1741, allocations: 11.44 kB / 0.7035 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1741, allocations: 0 / 0.7035 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.008481/0.1826, allocations: 4.304 MB / 0.7077 GB, free: 5.367 MB / 0.4981 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)