Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 102.2 kB / 16.4 MB, free: 6.504 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.001664/0.001665, allocations: 185.5 kB / 17.34 MB, free: 5.77 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8188/0.8188, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.09 kB / 0.5821 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1901, allocations: 80.2 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003315/0.1935, allocations: 1.417 MB / 0.6618 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.1982, allocations: 2.837 MB / 0.6646 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.1983, allocations: 0 / 0.6646 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1984, allocations: 7.875 kB / 0.6646 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.1985, allocations: 11.86 kB / 0.6646 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.2034, allocations: 1.55 MB / 0.6661 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2035, allocations: 55.67 kB / 0.6661 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.2035, allocations: 7.969 kB / 0.6662 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.2036, allocations: 11.94 kB / 0.6662 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.2036, allocations: 19.92 kB / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.2036, allocations: 0 / 0.6662 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.2063, allocations: 1.474 MB / 0.6676 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.2064, allocations: 7.938 kB / 0.6676 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.2064, allocations: 27.86 kB / 0.6677 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.2086, allocations: 1.057 MB / 0.6687 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2086, allocations: 4 kB / 0.6687 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2086, allocations: 0 / 0.6687 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2086, allocations: 0 / 0.6687 GB, free: 1.762 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.0007971/0.2094, allocations: 0.5147 MB / 0.6692 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2095, allocations: 8.031 kB / 0.6692 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.2095, allocations: 84.11 kB / 0.6693 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2097, allocations: 253.1 kB / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.2098, allocations: 162.6 kB / 0.6697 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2098, allocations: 150.6 kB / 0.6698 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.482e-05/0.2099, allocations: 105 kB / 0.6699 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.2099, allocations: 79.27 kB / 0.67 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.21, allocations: 150.6 kB / 0.6701 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.21, allocations: 150.6 kB / 0.6703 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/0.2101, allocations: 162.6 kB / 0.6704 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.2104, allocations: 457.9 kB / 0.6709 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.469e-05/0.2105, allocations: 177.1 kB / 0.671 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.2106, allocations: 80.14 kB / 0.6711 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.2106, allocations: 79.28 kB / 0.6712 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.2107, allocations: 109.8 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2107, allocations: 0 / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.207e-05/0.2108, allocations: 37.55 kB / 0.6713 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2108, allocations: 126.7 kB / 0.6715 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.211, allocations: 131.7 kB / 0.6716 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.211, allocations: 25.7 kB / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.2111, allocations: 100 kB / 0.6717 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-06/0.2111, allocations: 0 / 0.6717 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.2111, allocations: 25.64 kB / 0.6717 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2112, allocations: 314.8 kB / 0.672 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.2113, allocations: 4 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.2113, allocations: 4 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.2113, allocations: 24.72 kB / 0.6721 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2113, allocations: 0 / 0.6721 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.2115, allocations: 49.67 kB / 0.6721 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2115, allocations: 4 kB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.2115, allocations: 4 kB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2116, allocations: 0 / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.2116, allocations: 3.984 kB / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2116, allocations: 0 / 0.6721 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.2116, allocations: 11.84 kB / 0.6721 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2116, allocations: 4 kB / 0.6721 GB, free: 14 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.0001043/0.2117, allocations: 189.1 kB / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.2118, allocations: 113.1 kB / 0.6724 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.2119, allocations: 108.8 kB / 0.6725 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.22e-05/0.2119, allocations: 180.2 kB / 0.6727 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.324e-05/0.212, allocations: 184.2 kB / 0.6729 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/0.2121, allocations: 180.3 kB / 0.6731 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.2123, allocations: 417.2 kB / 0.6734 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-05/0.2124, allocations: 104.9 kB / 0.6735 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.2124, allocations: 105 kB / 0.6736 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/0.2125, allocations: 180.2 kB / 0.6738 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.2125, allocations: 184.3 kB / 0.674 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.909e-05/0.2126, allocations: 176.3 kB / 0.6742 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.088e-05/0.2127, allocations: 184.2 kB / 0.6743 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.2128, allocations: 315.6 kB / 0.6746 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.2129, allocations: 186 kB / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.213, allocations: 176.3 kB / 0.675 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.2131, allocations: 112.9 kB / 0.6751 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.2131, allocations: 184.3 kB / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.2132, allocations: 104.9 kB / 0.6754 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.2133, allocations: 101.5 kB / 0.6755 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2133, allocations: 0 / 0.6755 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008985/0.2142, allocations: 279.8 kB / 0.6757 GB, free: 10.09 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.001357/0.2155, allocations: 0.5098 MB / 0.6762 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2157, allocations: 37.7 kB / 0.6763 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2157, allocations: 0 / 0.6763 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.2157, allocations: 0 / 0.6763 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.2161, allocations: 467.6 kB / 0.6767 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.2165, allocations: 261.8 kB / 0.677 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2168, allocations: 0.6807 MB / 0.6776 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.2168, allocations: 11.38 kB / 0.6776 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.2168, allocations: 0 / 0.6776 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of Templates: time 0.008776/0.2256, allocations: 4.625 MB / 0.6822 GB, free: 3.445 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)