Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00554/0.00554, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00147/0.00147, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00263/0.00263, allocations: 266.6 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 95.84 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.188, allocations: 86.97 MB / 0.766 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002929/0.191, allocations: 1.338 MB / 0.7673 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004768/0.1915, allocations: 175.4 kB / 0.7674 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.1916, allocations: 0 / 0.7674 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1916, allocations: 7.922 kB / 0.7674 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.1917, allocations: 7.938 kB / 0.7675 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1921, allocations: 79.77 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.1921, allocations: 23.88 kB / 0.7676 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1922, allocations: 3.984 kB / 0.7676 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.1922, allocations: 15.98 kB / 0.7676 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.1923, allocations: 11.92 kB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1923, allocations: 4 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1926, allocations: 111.9 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.1926, allocations: 8 kB / 0.7677 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1927, allocations: 7.938 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1929, allocations: 92.02 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1929, allocations: 7.938 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1929, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1929, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000435/0.1933, allocations: 343.3 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.1934, allocations: 12.03 kB / 0.7681 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.1935, allocations: 34.69 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.1935, allocations: 8.828 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1936, allocations: 168.4 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1937, allocations: 384 / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1937, allocations: 8.375 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1938, allocations: 38.25 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1938, allocations: 3.938 kB / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1938, allocations: 0 / 0.7684 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1938, allocations: 3.984 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.1939, allocations: 19.98 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.1941, allocations: 161.6 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1943, allocations: 34.61 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.1943, allocations: 20.86 kB / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008805/0.1952, allocations: 141.1 kB / 0.7688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1953, allocations: 30.56 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1953, allocations: 0 / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001898/0.1955, allocations: 69.52 kB / 0.7689 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1955, allocations: 51.41 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.1956, allocations: 105.8 kB / 0.769 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1956, allocations: 29.7 kB / 0.769 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.1957, allocations: 80.14 kB / 0.7691 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1957, allocations: 11.91 kB / 0.7691 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1957, allocations: 17.72 kB / 0.7691 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1959, allocations: 314.8 kB / 0.7694 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.1959, allocations: 8 kB / 0.7694 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.1959, allocations: 4 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.196, allocations: 24.84 kB / 0.7695 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.196, allocations: 4 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.219e-05/0.1961, allocations: 53.88 kB / 0.7695 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1961, allocations: 11.94 kB / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1961, allocations: 0 / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1962, allocations: 0 / 0.7695 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.1962, allocations: 12 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1962, allocations: 0 / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1963, allocations: 7.938 kB / 0.7696 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1963, allocations: 0 / 0.7696 GB, free: 4.949 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.457e-05/0.1964, allocations: 118.4 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.1964, allocations: 11.83 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1965, allocations: 75.92 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1965, allocations: 0 / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1966, allocations: 0 / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1966, allocations: 0 / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1967, allocations: 165.6 kB / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1967, allocations: 384 / 0.7699 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.1967, allocations: 4 kB / 0.7699 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1968, allocations: 7.938 kB / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1968, allocations: 0 / 0.7699 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1968, allocations: 4 kB / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1968, allocations: 0 / 0.7699 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1969, allocations: 81.11 kB / 0.77 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.197, allocations: 85.05 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.197, allocations: 7.938 kB / 0.7701 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.197, allocations: 7.938 kB / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.1971, allocations: 0 / 0.7701 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1971, allocations: 4 kB / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001102/0.1972, allocations: 87.27 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.62e-07/0.1972, allocations: 0 / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002813/0.1975, allocations: 23.94 kB / 0.7702 GB, free: 4.18 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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.0005725/0.1981, allocations: 0.6319 MB / 0.7708 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.1982, allocations: 31.92 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1982, allocations: 0 / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.652e-05/0.1983, allocations: 11.98 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.1984, allocations: 12.89 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.1989, allocations: 159.1 kB / 0.771 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1992, allocations: 0.6729 MB / 0.7717 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.1993, allocations: 19.64 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.1993, allocations: 15.44 kB / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1993, allocations: 0 / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.2249, allocations: 2.426 MB / 0.7741 GB, free: 352 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.113, allocations: 18.88 kB / 0.7741 GB, free: 336 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)