Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001137/0.001137, allocations: 97.36 kB / 15.69 MB, free: 480 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.00139/0.00139, allocations: 176.1 kB / 16.57 MB, free: 6.398 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.395/1.395, allocations: 223.2 MB / 240.5 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 113.8 MB / 405.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 493.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 77.16 MB / 0.5569 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001657/0.1669, allocations: 1.07 MB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.1697, allocations: 1.609 MB / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/0.1697, allocations: 0 / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1699, allocations: 11.92 kB / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.17, allocations: 27.89 kB / 0.5596 GB, free: 8.816 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.1723, allocations: 0.8997 MB / 0.5604 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.3e-05/0.1724, allocations: 35.94 kB / 0.5605 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.1724, allocations: 7.984 kB / 0.5605 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1725, allocations: 27.92 kB / 0.5605 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.1726, allocations: 35.78 kB / 0.5605 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1726, allocations: 4 kB / 0.5605 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1737, allocations: 0.6318 MB / 0.5612 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.1738, allocations: 71.8 kB / 0.5612 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.1738, allocations: 45.58 kB / 0.5613 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.1745, allocations: 0.55 MB / 0.5618 GB, free: 6.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1745, allocations: 4 kB / 0.5618 GB, free: 6.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1745, allocations: 0 / 0.5618 GB, free: 6.516 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1746, allocations: 0 / 0.5618 GB, free: 6.516 MB / 430.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.0006633/0.1752, allocations: 0.5779 MB / 0.5624 GB, free: 5.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1753, allocations: 15.97 kB / 0.5624 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1753, allocations: 23.72 kB / 0.5624 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1755, allocations: 217.7 kB / 0.5626 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1756, allocations: 0 / 0.5626 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1756, allocations: 3.953 kB / 0.5626 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1757, allocations: 109.7 kB / 0.5627 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1757, allocations: 0 / 0.5627 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1758, allocations: 0 / 0.5627 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1758, allocations: 0 / 0.5627 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1758, allocations: 75.97 kB / 0.5628 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1761, allocations: 277.8 kB / 0.5631 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.1762, allocations: 126.7 kB / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1763, allocations: 3.953 kB / 0.5632 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.1763, allocations: 34.56 kB / 0.5632 GB, free: 4.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.1763, allocations: 0 / 0.5632 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004337/0.1768, allocations: 422.7 kB / 0.5636 GB, free: 4.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.1768, allocations: 55.34 kB / 0.5637 GB, free: 4.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.177, allocations: 257 kB / 0.5639 GB, free: 4.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1771, allocations: 25.7 kB / 0.5639 GB, free: 4.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1771, allocations: 132.7 kB / 0.5641 GB, free: 3.977 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.1772, allocations: 94.47 kB / 0.5642 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1772, allocations: 8.031 kB / 0.5642 GB, free: 3.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1774, allocations: 334.8 kB / 0.5645 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.1774, allocations: 79.95 kB / 0.5646 GB, free: 3.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.1775, allocations: 76.77 kB / 0.5646 GB, free: 3.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.978e-05/0.1776, allocations: 104.2 kB / 0.5647 GB, free: 3.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1776, allocations: 0 / 0.5647 GB, free: 3.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000216/0.1778, allocations: 217.3 kB / 0.5649 GB, free: 3.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1779, allocations: 7.953 kB / 0.565 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.1779, allocations: 4 kB / 0.565 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1779, allocations: 4.062 kB / 0.565 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.1779, allocations: 0 / 0.565 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1779, allocations: 3.938 kB / 0.565 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.178, allocations: 15.75 kB / 0.565 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.178, allocations: 3.938 kB / 0.565 GB, free: 3.027 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.1781, allocations: 153.8 kB / 0.5651 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.1782, allocations: 19.72 kB / 0.5651 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.1784, allocations: 264.1 kB / 0.5654 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1785, allocations: 0 / 0.5654 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1785, allocations: 0 / 0.5654 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1785, allocations: 0 / 0.5654 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1787, allocations: 289.7 kB / 0.5657 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1787, allocations: 0 / 0.5657 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1787, allocations: 0 / 0.5657 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1787, allocations: 0 / 0.5657 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1787, allocations: 7.984 kB / 0.5657 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1787, allocations: 3.953 kB / 0.5657 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1788, allocations: 7.969 kB / 0.5657 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.179, allocations: 256.7 kB / 0.5659 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1791, allocations: 104.7 kB / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1791, allocations: 0 / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.1791, allocations: 0 / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.1792, allocations: 7.953 kB / 0.566 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1792, allocations: 4 kB / 0.5661 GB, free: 1.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1793, allocations: 196.5 kB / 0.5662 GB, free: 1.641 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 0.5662 GB, free: 1.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006051/0.1799, allocations: 203.9 kB / 0.5664 GB, free: 1.441 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006731/0.1806, allocations: 316.3 kB / 0.5667 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.1809, allocations: 261.5 kB / 0.567 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1809, allocations: 0 / 0.567 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1811, allocations: 181.6 kB / 0.5672 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1813, allocations: 25.59 kB / 0.5672 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.1819, allocations: 0.55 MB / 0.5677 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1823, allocations: 0.7815 MB / 0.5685 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.16e-05/0.1823, allocations: 0 / 0.5685 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.1823, allocations: 15.44 kB / 0.5685 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1823, allocations: 0 / 0.5685 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Templates: time 0.008303/0.1906, allocations: 4.5 MB / 0.5729 GB, free: 10.81 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)