Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_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 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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_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.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 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.001102/0.001102, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 61.06 kB / 0.5019 GB, free: 3.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3667, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002261/0.369, allocations: 1.311 MB / 0.5815 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3701, allocations: 0.7585 MB / 0.5823 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.3702, allocations: 4.844 kB / 0.5823 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.3702, allocations: 0.6562 kB / 0.5823 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.3702, allocations: 9.219 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.3708, allocations: 139.5 kB / 0.5824 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.3708, allocations: 17.08 kB / 0.5824 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3709, allocations: 5.719 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.231e-05/0.3709, allocations: 3.859 kB / 0.5824 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.418e-05/0.3709, allocations: 12.55 kB / 0.5824 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.3709, allocations: 5.219 kB / 0.5824 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.3713, allocations: 167.6 kB / 0.5826 GB, free: 3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3713, allocations: 9.984 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3714, allocations: 7.031 kB / 0.5826 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.3716, allocations: 122.4 kB / 0.5827 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3716, allocations: 0.75 kB / 0.5827 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3716, allocations: 0 / 0.5827 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3716, allocations: 0 / 0.5827 GB, free: 2.953 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002734/0.3719, allocations: 351.6 kB / 0.5831 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3719, allocations: 14.81 kB / 0.5831 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.372, allocations: 31.55 kB / 0.5831 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.372, allocations: 2.312 kB / 0.5831 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.466e-05/0.3721, allocations: 170.8 kB / 0.5833 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3721, allocations: 5.531 kB / 0.5833 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3721, allocations: 3.938 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/0.3722, allocations: 31.92 kB / 0.5833 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3722, allocations: 0 / 0.5833 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3722, allocations: 4 kB / 0.5833 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3722, allocations: 1.125 kB / 0.5833 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.3723, allocations: 8.516 kB / 0.5833 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.3724, allocations: 153.5 kB / 0.5835 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.3725, allocations: 29.52 kB / 0.5835 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.3725, allocations: 10.33 kB / 0.5835 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/0.373, allocations: 133.2 kB / 0.5837 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.373, allocations: 37.23 kB / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.373, allocations: 0 / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.3731, allocations: 37.72 kB / 0.5837 GB, free: 1.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.3732, allocations: 52.53 kB / 0.5838 GB, free: 1.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.3732, allocations: 110.5 kB / 0.5839 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.3732, allocations: 25.7 kB / 0.5839 GB, free: 1.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.3733, allocations: 86.05 kB / 0.584 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3733, allocations: 5.891 kB / 0.584 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.3733, allocations: 13.16 kB / 0.584 GB, free: 1.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.3734, allocations: 317.2 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.3734, allocations: 2 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-06/0.3734, allocations: 2.938 kB / 0.5843 GB, free: 1.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.3734, allocations: 15.2 kB / 0.5843 GB, free: 1.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3734, allocations: 0 / 0.5843 GB, free: 1.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.485e-05/0.3735, allocations: 46.12 kB / 0.5844 GB, free: 1.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3735, allocations: 9.438 kB / 0.5844 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3735, allocations: 0.7031 kB / 0.5844 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3735, allocations: 0 / 0.5844 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.3736, allocations: 7.859 kB / 0.5844 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3736, allocations: 1.031 kB / 0.5844 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.3736, allocations: 3.984 kB / 0.5844 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3736, allocations: 6.125 kB / 0.5844 GB, free: 1.188 MB / 430.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 (2): * Single equations (assignments): 2 * 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 4.416e-05/0.3737, allocations: 115.8 kB / 0.5845 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.3737, allocations: 5.219 kB / 0.5845 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.412e-05/0.3738, allocations: 54.08 kB / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3738, allocations: 0 / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3738, allocations: 1.594 kB / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3738, allocations: 0 / 0.5846 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.929e-05/0.3739, allocations: 153.3 kB / 0.5847 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3739, allocations: 0 / 0.5847 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3739, allocations: 8.766 kB / 0.5847 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3739, allocations: 3.938 kB / 0.5847 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3739, allocations: 1.703 kB / 0.5847 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3739, allocations: 4.75 kB / 0.5847 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3739, allocations: 0.75 kB / 0.5847 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.113e-05/0.374, allocations: 69.48 kB / 0.5848 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.374, allocations: 83.66 kB / 0.5849 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.374, allocations: 4.828 kB / 0.5849 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.374, allocations: 0.9062 kB / 0.5849 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.374, allocations: 1.594 kB / 0.5849 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3741, allocations: 0.8125 kB / 0.5849 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.3741, allocations: 81.59 kB / 0.585 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3741, allocations: 0 / 0.585 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3743, allocations: 43.28 kB / 0.585 GB, free: 0.5547 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0004382/0.3748, allocations: 0.6659 MB / 0.5857 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.724e-05/0.3749, allocations: 17.12 kB / 0.5857 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3749, allocations: 0 / 0.5857 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.3749, allocations: 5.141 kB / 0.5857 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3751, allocations: 15.64 kB / 0.5857 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.3755, allocations: 148.4 kB / 0.5858 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3757, allocations: 0.6752 MB / 0.5865 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.055e-05/0.3757, allocations: 3.891 kB / 0.5865 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.3758, allocations: 14.19 kB / 0.5865 GB, free: 15.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3758, allocations: 3.938 kB / 0.5865 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3938, allocations: 2.176 MB / 0.5886 GB, free: 14.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.714, allocations: 17.03 kB / 0.5887 GB, free: 14.66 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)