Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.001245/0.001246, allocations: 108 kB / 15.61 MB, free: 148 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.001048/0.001047, allocations: 195.6 kB / 16.53 MB, free: 6.656 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7254/0.7254, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 61.56 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3516, allocations: 80.2 MB / 0.5802 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00223/0.3538, allocations: 1.332 MB / 0.5815 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3555, allocations: 1.319 MB / 0.5828 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.3555, allocations: 1 kB / 0.5828 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.3556, allocations: 2.656 kB / 0.5828 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.787e-05/0.3557, allocations: 21.97 kB / 0.5828 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.3565, allocations: 371.4 kB / 0.5832 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.3568, allocations: 381.3 kB / 0.5836 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3569, allocations: 6.469 kB / 0.5836 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.357, allocations: 114.9 kB / 0.5837 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3572, allocations: 189.8 kB / 0.5839 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.3572, allocations: 20.78 kB / 0.5839 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.358, allocations: 498.4 kB / 0.5844 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3581, allocations: 107 kB / 0.5845 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3583, allocations: 115.6 kB / 0.5846 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.3589, allocations: 0.5314 MB / 0.5851 GB, free: 1.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3589, allocations: 4.5 kB / 0.5851 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3589, allocations: 0.5625 kB / 0.5851 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3589, allocations: 0 / 0.5851 GB, free: 1.891 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005669/0.3595, allocations: 0.5432 MB / 0.5856 GB, free: 1.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3596, allocations: 10.16 kB / 0.5856 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.3596, allocations: 54.83 kB / 0.5857 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.639e-05/0.3597, allocations: 22.31 kB / 0.5857 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.526e-05/0.3598, allocations: 186 kB / 0.5859 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3598, allocations: 18.95 kB / 0.5859 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.3598, allocations: 19.66 kB / 0.5859 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.3604, allocations: 330.2 kB / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3604, allocations: 0 / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.3604, allocations: 9.344 kB / 0.5862 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3605, allocations: 4.125 kB / 0.5863 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/0.3652, allocations: 2.93 MB / 0.5891 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.3656, allocations: 401.2 kB / 0.5895 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.3663, allocations: 0.4908 MB / 0.59 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3666, allocations: 237.7 kB / 0.5902 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.3679, allocations: 0.9249 MB / 0.5911 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3679, allocations: 42.11 kB / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.3679, allocations: 0 / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.001267/0.3692, allocations: 0.7596 MB / 0.5919 GB, free: 15.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.3692, allocations: 60.8 kB / 0.5919 GB, free: 15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3693, allocations: 139.9 kB / 0.5921 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3694, allocations: 31.61 kB / 0.5921 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.3694, allocations: 96.53 kB / 0.5922 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.3695, allocations: 149.1 kB / 0.5923 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3697, allocations: 96.69 kB / 0.5924 GB, free: 14.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.3698, allocations: 333.8 kB / 0.5928 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.3701, allocations: 211.7 kB / 0.593 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.3704, allocations: 215.1 kB / 0.5932 GB, free: 14.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.3712, allocations: 488.2 kB / 0.5936 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3712, allocations: 0 / 0.5936 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008683/0.3721, allocations: 0.5519 MB / 0.5942 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3721, allocations: 4.875 kB / 0.5942 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3721, allocations: 0 / 0.5942 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3721, allocations: 2.875 kB / 0.5942 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.3724, allocations: 100.6 kB / 0.5943 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3724, allocations: 1.625 kB / 0.5943 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.3725, allocations: 22.97 kB / 0.5943 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3725, allocations: 20.28 kB / 0.5943 GB, free: 13.69 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 (43): * Single equations (assignments): 43 * 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 0.0001475/0.3727, allocations: 164 kB / 0.5945 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.3728, allocations: 24.55 kB / 0.5945 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.3743, allocations: 0.9048 MB / 0.5954 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3743, allocations: 4.281 kB / 0.5954 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3743, allocations: 0 / 0.5954 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3743, allocations: 5.422 kB / 0.5954 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.3748, allocations: 398.1 kB / 0.5958 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3748, allocations: 1.125 kB / 0.5958 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.375, allocations: 96.98 kB / 0.5959 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.375, allocations: 2.406 kB / 0.5959 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.3751, allocations: 21.11 kB / 0.5959 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3751, allocations: 6.125 kB / 0.5959 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3751, allocations: 4 kB / 0.5959 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.376, allocations: 0.5959 MB / 0.5965 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.3761, allocations: 100.3 kB / 0.5966 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.3761, allocations: 5.25 kB / 0.5966 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.3762, allocations: 10.59 kB / 0.5966 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.3763, allocations: 31.12 kB / 0.5966 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.3763, allocations: 30.73 kB / 0.5966 GB, free: 12.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.247e-05/0.3764, allocations: 124.9 kB / 0.5968 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3764, allocations: 0 / 0.5968 GB, free: 12.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006229/0.377, allocations: 182.4 kB / 0.5969 GB, free: 12.29 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 (44): * Single equations (assignments): 44 * 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.001589/0.3786, allocations: 1.283 MB / 0.5982 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.3797, allocations: 0.7394 MB / 0.5989 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3797, allocations: 3.938 kB / 0.5989 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.3801, allocations: 285.3 kB / 0.5992 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3804, allocations: 51.77 kB / 0.5992 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3815, allocations: 0.7015 MB / 0.5999 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3818, allocations: 0.7563 MB / 0.6007 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005401/0.3824, allocations: 340.7 kB / 0.601 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3826, allocations: 87.56 kB / 0.6011 GB, free: 9.891 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3826, allocations: 0 / 0.6011 GB, free: 9.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.4079, allocations: 8.033 MB / 0.6089 GB, free: 3.793 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.591, allocations: 19.47 kB / 0.6089 GB, free: 3.781 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)