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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194.6 kB / 16.53 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 283 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9031/0.9031, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 101.6 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1414, allocations: 86.98 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002269/0.1437, allocations: 1.366 MB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1461, allocations: 1.788 MB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.1462, allocations: 0 / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.929e-05/0.1463, allocations: 16.55 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.1464, allocations: 23.91 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.1487, allocations: 1.148 MB / 0.6845 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.1488, allocations: 51.77 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.1488, allocations: 4 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.1489, allocations: 23.91 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.149, allocations: 31.92 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.149, allocations: 0 / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.15, allocations: 0.8539 MB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.1501, allocations: 71.75 kB / 0.6855 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1502, allocations: 63.44 kB / 0.6856 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.151, allocations: 0.8809 MB / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1511, allocations: 0 / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1511, allocations: 0 / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1511, allocations: 0 / 0.6864 GB, free: 10.34 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.0005736/0.1517, allocations: 0.58 MB / 0.687 GB, free: 9.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1517, allocations: 8.031 kB / 0.687 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1517, allocations: 20.66 kB / 0.687 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1519, allocations: 230.8 kB / 0.6872 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-06/0.1519, allocations: 384 / 0.6872 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1519, allocations: 384 / 0.6872 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1521, allocations: 105.8 kB / 0.6873 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1521, allocations: 7.984 kB / 0.6873 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1521, allocations: 4 kB / 0.6873 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1521, allocations: 0 / 0.6873 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.1522, allocations: 71.97 kB / 0.6874 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.1524, allocations: 281.8 kB / 0.6877 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1525, allocations: 126.5 kB / 0.6878 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.1526, allocations: 104.9 kB / 0.6879 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1526, allocations: 3.938 kB / 0.6879 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1527, allocations: 42.5 kB / 0.6879 GB, free: 8.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.092e-06/0.1527, allocations: 0 / 0.6879 GB, free: 8.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.000343/0.153, allocations: 327.7 kB / 0.6883 GB, free: 8.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1531, allocations: 59.39 kB / 0.6883 GB, free: 8.223 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1533, allocations: 256.9 kB / 0.6886 GB, free: 7.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1533, allocations: 25.7 kB / 0.6886 GB, free: 7.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1534, allocations: 128.7 kB / 0.6887 GB, free: 7.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.1534, allocations: 102.4 kB / 0.6888 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1535, allocations: 29.73 kB / 0.6888 GB, free: 7.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1536, allocations: 342.8 kB / 0.6892 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.1537, allocations: 75.97 kB / 0.6892 GB, free: 7.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.1537, allocations: 79.95 kB / 0.6893 GB, free: 7.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1539, allocations: 196.7 kB / 0.6895 GB, free: 6.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1539, allocations: 0 / 0.6895 GB, free: 6.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002048/0.1541, allocations: 229.5 kB / 0.6897 GB, free: 6.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1541, allocations: 8 kB / 0.6897 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1541, allocations: 0 / 0.6897 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1542, allocations: 64 / 0.6897 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1542, allocations: 7.938 kB / 0.6897 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1542, allocations: 0 / 0.6897 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.1542, allocations: 15.78 kB / 0.6897 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1542, allocations: 0 / 0.6897 GB, free: 6.715 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.0001086/0.1544, allocations: 158.4 kB / 0.6899 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1544, allocations: 27.66 kB / 0.6899 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1546, allocations: 258.8 kB / 0.6902 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1547, allocations: 4 kB / 0.6902 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1547, allocations: 4 kB / 0.6902 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1547, allocations: 0 / 0.6902 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1549, allocations: 277.9 kB / 0.6904 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1549, allocations: 3.938 kB / 0.6904 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.1549, allocations: 3.984 kB / 0.6904 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1549, allocations: 0 / 0.6904 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.1549, allocations: 0 / 0.6904 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1549, allocations: 0 / 0.6904 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1549, allocations: 7.938 kB / 0.6905 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1551, allocations: 256.8 kB / 0.6907 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1552, allocations: 104.6 kB / 0.6908 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1552, allocations: 0 / 0.6908 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.1553, allocations: 4 kB / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.1553, allocations: 0 / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1553, allocations: 0 / 0.6908 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1555, allocations: 196.4 kB / 0.691 GB, free: 5.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1555, allocations: 7.969 kB / 0.691 GB, free: 5.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1559, allocations: 207.9 kB / 0.6912 GB, free: 5.117 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.000619/0.1566, allocations: 338.8 kB / 0.6915 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1568, allocations: 265.5 kB / 0.6918 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1568, allocations: 0 / 0.6918 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.157, allocations: 181.6 kB / 0.6919 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1572, allocations: 17.48 kB / 0.692 GB, free: 4.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.1578, allocations: 0.4944 MB / 0.6924 GB, free: 3.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1581, allocations: 0.7671 MB / 0.6932 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.1581, allocations: 7.984 kB / 0.6932 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1581, allocations: 11.44 kB / 0.6932 GB, free: 2.973 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1581, allocations: 0 / 0.6932 GB, free: 2.973 MB / 494.1 MB Notification: Performance of Templates: time 0.007637/0.1658, allocations: 4.592 MB / 0.6977 GB, free: 14.45 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)