Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="IDEAS_dev_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_dev_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.005079/0.005079, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00114/0.001141, allocations: 201 kB / 16.68 MB, free: 5.969 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8774/0.8774, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 63.91 kB / 0.5852 GB, free: 3.777 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3688, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.001938/0.3708, allocations: 1.353 MB / 0.6655 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3724, allocations: 1.306 MB / 0.6668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3724, allocations: 0 / 0.6668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.3725, allocations: 5.312 kB / 0.6668 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.3725, allocations: 24.81 kB / 0.6668 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.3734, allocations: 369.3 kB / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.3737, allocations: 375.7 kB / 0.6675 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3737, allocations: 8.094 kB / 0.6676 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.3e-05/0.3738, allocations: 118.9 kB / 0.6677 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.374, allocations: 194.5 kB / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.374, allocations: 20.09 kB / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.3747, allocations: 492.1 kB / 0.6683 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3748, allocations: 106.8 kB / 0.6684 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3749, allocations: 114.7 kB / 0.6686 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.3755, allocations: 0.5418 MB / 0.6691 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3755, allocations: 0 / 0.6691 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3755, allocations: 0 / 0.6691 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3755, allocations: 5.281 kB / 0.6691 GB, free: 3.914 MB / 0.4981 GB 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.0005537/0.376, allocations: 0.5473 MB / 0.6696 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3761, allocations: 10.31 kB / 0.6696 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.3762, allocations: 55.2 kB / 0.6697 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.3762, allocations: 25.8 kB / 0.6697 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.3763, allocations: 190.2 kB / 0.6699 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3763, allocations: 14.28 kB / 0.6699 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3764, allocations: 15.72 kB / 0.6699 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.3768, allocations: 326.4 kB / 0.6702 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3769, allocations: 7.938 kB / 0.6702 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3769, allocations: 9.438 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3769, allocations: 3.469 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.3808, allocations: 2.926 MB / 0.6731 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.3813, allocations: 393.1 kB / 0.6735 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.382, allocations: 0.5 MB / 0.674 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.3823, allocations: 241.3 kB / 0.6742 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.3834, allocations: 0.9315 MB / 0.6751 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3834, allocations: 36.97 kB / 0.6751 GB, free: 184 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.3834, allocations: 0 / 0.6751 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.001271/0.3847, allocations: 0.7642 MB / 0.6759 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3847, allocations: 55.94 kB / 0.6759 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3849, allocations: 139.6 kB / 0.6761 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3849, allocations: 30.7 kB / 0.6761 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.385, allocations: 105.6 kB / 0.6762 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3851, allocations: 149.4 kB / 0.6764 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3853, allocations: 99.55 kB / 0.6764 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3854, allocations: 330.8 kB / 0.6768 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.3857, allocations: 208.1 kB / 0.677 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.386, allocations: 210.1 kB / 0.6772 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.3868, allocations: 496.3 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3868, allocations: 3.938 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008956/0.3877, allocations: 0.54 MB / 0.6782 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3877, allocations: 17.11 kB / 0.6782 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3878, allocations: 0 / 0.6782 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3878, allocations: 1.375 kB / 0.6782 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.3881, allocations: 96.3 kB / 0.6783 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3881, allocations: 6.516 kB / 0.6783 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.3882, allocations: 23.5 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3882, allocations: 23.41 kB / 0.6783 GB, free: 14.51 MB / 0.5137 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 (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.0001587/0.3884, allocations: 166.8 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.3885, allocations: 20.92 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.39, allocations: 0.8968 MB / 0.6794 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3901, allocations: 8.031 kB / 0.6794 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3901, allocations: 1.125 kB / 0.6794 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3901, allocations: 3.984 kB / 0.6794 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.3905, allocations: 408 kB / 0.6798 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3905, allocations: 3.938 kB / 0.6798 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3908, allocations: 101.3 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3908, allocations: 2.156 kB / 0.6799 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.3909, allocations: 20.66 kB / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3909, allocations: 6.375 kB / 0.6799 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3909, allocations: 4 kB / 0.6799 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.3918, allocations: 0.5983 MB / 0.6805 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3918, allocations: 99.7 kB / 0.6806 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.3919, allocations: 4 kB / 0.6806 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.3919, allocations: 11.53 kB / 0.6806 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.392, allocations: 37.48 kB / 0.6806 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3921, allocations: 19.72 kB / 0.6807 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.808e-05/0.3921, allocations: 117.2 kB / 0.6808 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3921, allocations: 0 / 0.6808 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000546/0.3927, allocations: 181.6 kB / 0.6809 GB, free: 13.11 MB / 0.5137 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 (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.001504/0.3942, allocations: 1.285 MB / 0.6822 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.395, allocations: 0.5161 MB / 0.6827 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.395, allocations: 1.062 kB / 0.6827 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.3954, allocations: 276.6 kB / 0.683 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3957, allocations: 48.09 kB / 0.683 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3969, allocations: 0.7091 MB / 0.6837 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3971, allocations: 0.7491 MB / 0.6844 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005203/0.3977, allocations: 348.6 kB / 0.6848 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3978, allocations: 91.12 kB / 0.6849 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.3979, allocations: 0 / 0.6849 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.422, allocations: 8.106 MB / 0.6928 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.913, allocations: 23.03 kB / 0.6928 GB, free: 4.051 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)