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.0008647/0.0008647, allocations: 98.89 kB / 16.02 MB, free: 80 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.00104/0.00104, allocations: 177.7 kB / 16.92 MB, free: 6.895 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6803/0.6803, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8.75 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1822, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001443/0.1837, allocations: 1.088 MB / 0.5611 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.1866, allocations: 1.803 MB / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.1867, allocations: 0 / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1868, allocations: 11.92 kB / 0.5628 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.187, allocations: 35.84 kB / 0.5629 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.1895, allocations: 1.028 MB / 0.5639 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1897, allocations: 91.72 kB / 0.564 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1897, allocations: 4 kB / 0.564 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.1898, allocations: 31.84 kB / 0.564 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.1899, allocations: 35.84 kB / 0.564 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1899, allocations: 0 / 0.564 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1911, allocations: 0.8462 MB / 0.5649 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1912, allocations: 67.81 kB / 0.5649 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.1913, allocations: 89.08 kB / 0.565 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1924, allocations: 0.8926 MB / 0.5659 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1924, allocations: 0 / 0.5659 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1924, allocations: 0 / 0.5659 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1924, allocations: 0 / 0.5659 GB, free: 2.93 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.0006658/0.1931, allocations: 0.5607 MB / 0.5664 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1931, allocations: 12.03 kB / 0.5664 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.1932, allocations: 20.66 kB / 0.5665 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1934, allocations: 222.8 kB / 0.5667 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1934, allocations: 4.375 kB / 0.5667 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1934, allocations: 384 / 0.5667 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1936, allocations: 113.8 kB / 0.5668 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1936, allocations: 3.938 kB / 0.5668 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1936, allocations: 3.938 kB / 0.5668 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1936, allocations: 0 / 0.5668 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.1937, allocations: 75.95 kB / 0.5669 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.194, allocations: 281.8 kB / 0.5671 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1941, allocations: 118.5 kB / 0.5672 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.1942, allocations: 108.9 kB / 0.5673 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1943, allocations: 3.938 kB / 0.5673 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1943, allocations: 38.56 kB / 0.5674 GB, free: 1.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 1.363e-06/0.1943, allocations: 0 / 0.5674 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004048/0.1947, allocations: 333.8 kB / 0.5677 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1947, allocations: 51.41 kB / 0.5678 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.195, allocations: 253 kB / 0.568 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.195, allocations: 29.69 kB / 0.568 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1951, allocations: 132.7 kB / 0.5681 GB, free: 412 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.1952, allocations: 98.45 kB / 0.5682 GB, free: 312 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1952, allocations: 29.7 kB / 0.5683 GB, free: 276 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1954, allocations: 342.8 kB / 0.5686 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.1955, allocations: 71.97 kB / 0.5687 GB, free: 15.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.1956, allocations: 76.77 kB / 0.5687 GB, free: 15.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1958, allocations: 205 kB / 0.5689 GB, free: 15.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1958, allocations: 0 / 0.5689 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002326/0.196, allocations: 229.2 kB / 0.5692 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.196, allocations: 8.062 kB / 0.5692 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.1961, allocations: 4 kB / 0.5692 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1961, allocations: 0 / 0.5692 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.185e-06/0.1961, allocations: 3.984 kB / 0.5692 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1961, allocations: 0 / 0.5692 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1961, allocations: 7.844 kB / 0.5692 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1962, allocations: 4 kB / 0.5692 GB, free: 15.32 MB / 446.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.0001221/0.1963, allocations: 153.8 kB / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1963, allocations: 23.66 kB / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.1966, allocations: 264.2 kB / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1966, allocations: 0 / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1966, allocations: 0 / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1966, allocations: 0 / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1969, allocations: 289.8 kB / 0.5699 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1969, allocations: 3.938 kB / 0.5699 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.1969, allocations: 4 kB / 0.5699 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1969, allocations: 0 / 0.5699 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1969, allocations: 4.031 kB / 0.5699 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1969, allocations: 0 / 0.5699 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1969, allocations: 0 / 0.5699 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.1972, allocations: 252.8 kB / 0.5701 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1972, allocations: 108.6 kB / 0.5702 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.1973, allocations: 3.938 kB / 0.5702 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.1973, allocations: 0 / 0.5702 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1973, allocations: 3.984 kB / 0.5702 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1973, allocations: 8.031 kB / 0.5702 GB, free: 14.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1975, allocations: 184.5 kB / 0.5704 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1975, allocations: 0 / 0.5704 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.1981, allocations: 215.9 kB / 0.5706 GB, free: 13.73 MB / 446.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.0007253/0.1988, allocations: 353.8 kB / 0.571 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1991, allocations: 257.6 kB / 0.5712 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1991, allocations: 0 / 0.5712 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1993, allocations: 185.7 kB / 0.5714 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1995, allocations: 25.12 kB / 0.5714 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000703/0.2003, allocations: 0.5717 MB / 0.572 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2006, allocations: 0.7648 MB / 0.5727 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.392e-05/0.2006, allocations: 4 kB / 0.5727 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.2006, allocations: 11.44 kB / 0.5727 GB, free: 11.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2006, allocations: 0 / 0.5727 GB, free: 11.5 MB / 446.1 MB Notification: Performance of Templates: time 0.008636/0.2093, allocations: 4.54 MB / 0.5772 GB, free: 7.027 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)