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.001853/0.001853, allocations: 108 kB / 15.61 MB, free: 152 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.002033/0.002033, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.531/1.531, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002716/0.002716, allocations: 298.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.105/1.105, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004447/0.004447, allocations: 99.11 kB / 0.6066 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1992, allocations: 89.14 MB / 0.6936 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002598/0.2018, allocations: 1.336 MB / 0.6949 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.2023, allocations: 185.3 kB / 0.6951 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.2023, allocations: 0 / 0.6951 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2023, allocations: 3.938 kB / 0.6951 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.2024, allocations: 7.922 kB / 0.6951 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2027, allocations: 76.83 kB / 0.6952 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.2028, allocations: 23.94 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.2028, allocations: 4.641 kB / 0.6952 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.2029, allocations: 15.94 kB / 0.6952 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.2029, allocations: 9.297 kB / 0.6953 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.203, allocations: 0 / 0.6953 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.2034, allocations: 119.8 kB / 0.6954 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.2034, allocations: 11.94 kB / 0.6954 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2034, allocations: 11.94 kB / 0.6954 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2036, allocations: 92.08 kB / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.2036, allocations: 0 / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2036, allocations: 3.938 kB / 0.6955 GB, free: 2.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2036, allocations: 0 / 0.6955 GB, free: 2.285 MB / 494.1 MB 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.0003834/0.204, allocations: 342 kB / 0.6958 GB, free: 1.902 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2041, allocations: 12.03 kB / 0.6958 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.2041, allocations: 30.75 kB / 0.6959 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.2041, allocations: 4.938 kB / 0.6959 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2043, allocations: 176.3 kB / 0.696 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2043, allocations: 4.375 kB / 0.696 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2043, allocations: 384 / 0.696 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.2044, allocations: 38.25 kB / 0.6961 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2044, allocations: 3.938 kB / 0.6961 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2045, allocations: 7.938 kB / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2045, allocations: 0 / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.2045, allocations: 15.98 kB / 0.6961 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.2047, allocations: 161.7 kB / 0.6962 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.2048, allocations: 34.61 kB / 0.6963 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.2048, allocations: 16.86 kB / 0.6963 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008618/0.2057, allocations: 141.1 kB / 0.6964 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2057, allocations: 30.56 kB / 0.6965 GB, free: 1.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.146e-06/0.2058, allocations: 3.984 kB / 0.6965 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001685/0.2059, allocations: 65.56 kB / 0.6965 GB, free: 1.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.206, allocations: 55.41 kB / 0.6966 GB, free: 0.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.2061, allocations: 105.8 kB / 0.6967 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2061, allocations: 29.64 kB / 0.6967 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2061, allocations: 80.14 kB / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2062, allocations: 19.75 kB / 0.6968 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.2062, allocations: 17.7 kB / 0.6968 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2064, allocations: 314.8 kB / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.2065, allocations: 8 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/0.2065, allocations: 4 kB / 0.6971 GB, free: 364 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.2066, allocations: 28.78 kB / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2066, allocations: 0 / 0.6972 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.046e-05/0.2067, allocations: 53.69 kB / 0.6972 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2067, allocations: 11.94 kB / 0.6972 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2067, allocations: 3.938 kB / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2067, allocations: 0 / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.2068, allocations: 8.25 kB / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2068, allocations: 0 / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.2068, allocations: 11.91 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2068, allocations: 0 / 0.6972 GB, free: 236 kB / 494.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 (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.02e-05/0.2069, allocations: 110.5 kB / 0.6974 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.2069, allocations: 3.938 kB / 0.6974 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.2071, allocations: 74.23 kB / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2071, allocations: 0 / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2071, allocations: 0 / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2071, allocations: 0 / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2073, allocations: 161.7 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2073, allocations: 4 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.2073, allocations: 8 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2073, allocations: 3.938 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2073, allocations: 4 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2073, allocations: 0 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2073, allocations: 0 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.2075, allocations: 80.97 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.2075, allocations: 85.09 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2076, allocations: 11.94 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.338e-05/0.2076, allocations: 0 / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.2076, allocations: 432 / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2076, allocations: 4 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.2077, allocations: 87.27 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2077, allocations: 0 / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002161/0.2079, allocations: 16 kB / 0.6979 GB, free: 15.49 MB / 0.4981 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.0005759/0.2085, allocations: 0.6443 MB / 0.6985 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2086, allocations: 27.92 kB / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2086, allocations: 0 / 0.6985 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.2086, allocations: 11.98 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.2088, allocations: 16.69 kB / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.2092, allocations: 171 kB / 0.6987 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.2097, allocations: 0.6747 MB / 0.6994 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.2098, allocations: 14.94 kB / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.2098, allocations: 11.44 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2098, allocations: 0 / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.235, allocations: 2.393 MB / 0.7017 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.243, allocations: 32.73 kB / 0.7018 GB, free: 11.62 MB / 0.4981 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)