Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.00204/0.00204, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8048/0.8048, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.09 kB / 0.5821 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 80.21 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002531/0.1684, allocations: 1.435 MB / 0.6618 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.1726, allocations: 2.872 MB / 0.6646 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1727, allocations: 4 kB / 0.6646 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.1727, allocations: 3.938 kB / 0.6646 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1728, allocations: 15.84 kB / 0.6646 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.1766, allocations: 1.596 MB / 0.6662 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1767, allocations: 39.73 kB / 0.6662 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1768, allocations: 11.97 kB / 0.6662 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/0.1768, allocations: 11.94 kB / 0.6663 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.1769, allocations: 15.88 kB / 0.6663 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1769, allocations: 0 / 0.6663 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1791, allocations: 1.532 MB / 0.6678 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.1792, allocations: 4 kB / 0.6678 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.1792, allocations: 15.88 kB / 0.6678 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.1805, allocations: 1.099 MB / 0.6689 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1806, allocations: 4 kB / 0.6689 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/0.1806, allocations: 4 kB / 0.6689 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1806, allocations: 0 / 0.6689 GB, free: 1.574 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000582/0.1812, allocations: 0.5108 MB / 0.6694 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1812, allocations: 12.03 kB / 0.6694 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.1813, allocations: 88 kB / 0.6695 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1814, allocations: 247.6 kB / 0.6697 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.1815, allocations: 158.7 kB / 0.6698 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1816, allocations: 154.6 kB / 0.67 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.009e-05/0.1816, allocations: 104.9 kB / 0.6701 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1817, allocations: 75.28 kB / 0.6702 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.1817, allocations: 154.6 kB / 0.6703 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.1818, allocations: 154.6 kB / 0.6705 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.1818, allocations: 150.6 kB / 0.6706 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.1821, allocations: 469.8 kB / 0.671 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.1822, allocations: 177 kB / 0.6712 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.1822, allocations: 84.14 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1823, allocations: 75.28 kB / 0.6714 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.1823, allocations: 105.8 kB / 0.6715 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1823, allocations: 0 / 0.6715 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.682e-05/0.1824, allocations: 37.69 kB / 0.6715 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1825, allocations: 130.6 kB / 0.6716 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1826, allocations: 131.8 kB / 0.6718 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1826, allocations: 29.7 kB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.1827, allocations: 92.14 kB / 0.6719 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/0.1827, allocations: 0 / 0.6719 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1827, allocations: 17.7 kB / 0.6719 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1828, allocations: 318.8 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.1829, allocations: 8 kB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.1829, allocations: 7.984 kB / 0.6722 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.1829, allocations: 16.8 kB / 0.6722 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1829, allocations: 4.031 kB / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.1831, allocations: 49.77 kB / 0.6723 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1831, allocations: 7.938 kB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.1831, allocations: 7.984 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1832, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1832, allocations: 0 / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1832, allocations: 3.984 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.1832, allocations: 3.906 kB / 0.6723 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1832, allocations: 4 kB / 0.6723 GB, free: 13.81 MB / 0.5137 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 0.0001001/0.1833, allocations: 193.1 kB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.1834, allocations: 112.8 kB / 0.6726 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.1834, allocations: 116.6 kB / 0.6727 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/0.1835, allocations: 184.2 kB / 0.6729 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-05/0.1836, allocations: 176.3 kB / 0.6731 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/0.1836, allocations: 180.2 kB / 0.6732 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.1839, allocations: 421.2 kB / 0.6736 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.1839, allocations: 108.9 kB / 0.6737 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.184, allocations: 105 kB / 0.6738 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.274e-05/0.184, allocations: 180.3 kB / 0.674 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.1841, allocations: 180.2 kB / 0.6742 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-05/0.1842, allocations: 180.3 kB / 0.6743 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.112e-05/0.1842, allocations: 180.2 kB / 0.6745 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1844, allocations: 311.8 kB / 0.6748 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.1845, allocations: 185.9 kB / 0.675 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.1846, allocations: 176.3 kB / 0.6752 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.1846, allocations: 124.9 kB / 0.6753 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.1847, allocations: 176.3 kB / 0.6754 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.1848, allocations: 101 kB / 0.6755 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.1848, allocations: 105.1 kB / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1848, allocations: 0 / 0.6756 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007468/0.1856, allocations: 279.8 kB / 0.6759 GB, free: 9.891 MB / 0.5137 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001033/0.1866, allocations: 0.5292 MB / 0.6764 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.1868, allocations: 45.69 kB / 0.6765 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1868, allocations: 0 / 0.6765 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.1868, allocations: 0 / 0.6765 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1872, allocations: 471.7 kB / 0.6769 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1875, allocations: 255.9 kB / 0.6772 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1878, allocations: 0.6884 MB / 0.6778 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.1878, allocations: 11.44 kB / 0.6778 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1878, allocations: 0 / 0.6778 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of Templates: time 0.007396/0.1952, allocations: 4.728 MB / 0.6825 GB, free: 3.109 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)