Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",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.001179/0.001179, allocations: 109.4 kB / 15.69 MB, free: 128 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.001129/0.001129, allocations: 186 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 62.56 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2074, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00174/0.2091, allocations: 0.5765 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2111, allocations: 1.632 MB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.2112, allocations: 4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.2112, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.401e-05/0.2113, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.2119, allocations: 199.4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.212, allocations: 19.98 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.212, allocations: 7.875 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.212, allocations: 11.94 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.62e-05/0.2121, allocations: 7.984 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.2121, allocations: 0 / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.2125, allocations: 283.5 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.2126, allocations: 7.984 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.2126, allocations: 11.88 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2128, allocations: 166.3 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2129, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2129, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2129, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003647/0.2132, allocations: 363.7 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2133, allocations: 12.03 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2133, allocations: 42.73 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.2141, allocations: 72.7 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2142, allocations: 164.4 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2142, allocations: 4.375 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2142, allocations: 8.375 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2144, allocations: 81.72 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2144, allocations: 0 / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2144, allocations: 4 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2144, allocations: 4 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.2147, allocations: 79.88 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.2149, allocations: 177.7 kB / 0.7875 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.215, allocations: 86.45 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.2151, allocations: 48.94 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2151, allocations: 0 / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2151, allocations: 34.5 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2152, allocations: 0 / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003268/0.2155, allocations: 153.4 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2155, allocations: 51.41 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2156, allocations: 105.8 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2157, allocations: 29.7 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2157, allocations: 88.12 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.2157, allocations: 15.75 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.2158, allocations: 29.69 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2159, allocations: 310.8 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.216, allocations: 31.97 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.216, allocations: 31.97 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2162, allocations: 76.8 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2162, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002206/0.2164, allocations: 122.2 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2164, allocations: 7.938 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2165, allocations: 0 / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2165, allocations: 0 / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2167, allocations: 19.97 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2167, allocations: 0 / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2168, allocations: 7.906 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.2168, allocations: 11.98 kB / 0.7887 GB, free: 7.812 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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 7.915e-05/0.2169, allocations: 116.7 kB / 0.7888 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.2169, allocations: 7.938 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.2173, allocations: 216 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2173, allocations: 0 / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2173, allocations: 0 / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2173, allocations: 3.984 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.2175, allocations: 221.5 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2175, allocations: 0 / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.2177, allocations: 31.92 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2177, allocations: 4 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2177, allocations: 4 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2177, allocations: 0 / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2177, allocations: 0 / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.218, allocations: 188.9 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.218, allocations: 100.8 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.218, allocations: 4 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.2181, allocations: 4 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.2181, allocations: 15.98 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2182, allocations: 0 / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.2182, allocations: 87.28 kB / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2182, allocations: 0 / 0.7897 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002861/0.2185, allocations: 67.98 kB / 0.7897 GB, free: 6.66 MB / 0.6075 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 (16): * Single equations (assignments): 16 * 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.0007398/0.2192, allocations: 0.8144 MB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2195, allocations: 95.94 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2195, allocations: 0 / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.2196, allocations: 83.89 kB / 0.7907 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2197, allocations: 4 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.2203, allocations: 278.4 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2206, allocations: 0.6924 MB / 0.7916 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.2207, allocations: 28.08 kB / 0.7917 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.2208, allocations: 27.42 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2208, allocations: 0 / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.2419, allocations: 3.643 MB / 0.7952 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/7.807, allocations: 6.703 kB / 0.7952 GB, free: 1.109 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)