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_Erfint.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_Erfint,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.007324/0.007324, allocations: 95.92 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.001463/0.001463, allocations: 197.1 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9726/0.9726, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3897, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001556/0.3913, allocations: 0.5757 MB / 0.6648 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3927, allocations: 1.309 MB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.3928, allocations: 1.406 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.3928, allocations: 0 / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.3928, allocations: 3.938 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3933, allocations: 102.5 kB / 0.6661 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.3934, allocations: 8.266 kB / 0.6662 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3935, allocations: 1.375 kB / 0.6662 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.3935, allocations: 10.86 kB / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.461e-05/0.3935, allocations: 5.219 kB / 0.6662 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3935, allocations: 1.188 kB / 0.6662 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.3938, allocations: 109.1 kB / 0.6663 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.3938, allocations: 9.438 kB / 0.6663 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.3939, allocations: 1.25 kB / 0.6663 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.394, allocations: 86.05 kB / 0.6664 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.394, allocations: 1.375 kB / 0.6664 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.394, allocations: 3.938 kB / 0.6664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3941, allocations: 0 / 0.6664 GB, free: 5.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003076/0.3944, allocations: 339.2 kB / 0.6667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3944, allocations: 10.88 kB / 0.6667 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.3944, allocations: 30.75 kB / 0.6667 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.3946, allocations: 9.047 kB / 0.6667 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.689e-05/0.3947, allocations: 165.6 kB / 0.6669 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3947, allocations: 5.5 kB / 0.6669 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3947, allocations: 1.125 kB / 0.6669 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3948, allocations: 43.3 kB / 0.6669 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3948, allocations: 5.594 kB / 0.667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3948, allocations: 3.938 kB / 0.667 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3949, allocations: 3.938 kB / 0.667 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.3949, allocations: 14.02 kB / 0.667 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.395, allocations: 154.7 kB / 0.6671 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3952, allocations: 47.89 kB / 0.6672 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3953, allocations: 20.88 kB / 0.6672 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.3958, allocations: 1.477 MB / 0.6686 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.3958, allocations: 39.55 kB / 0.6687 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.3958, allocations: 0 / 0.6687 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001706/0.396, allocations: 59.05 kB / 0.6687 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.396, allocations: 55.41 kB / 0.6688 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/0.396, allocations: 90.98 kB / 0.6689 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.3961, allocations: 25.7 kB / 0.6689 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.62e-05/0.3961, allocations: 85.39 kB / 0.669 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3961, allocations: 13.11 kB / 0.669 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3961, allocations: 17.28 kB / 0.669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.3962, allocations: 312 kB / 0.6693 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.3962, allocations: 12.7 kB / 0.6693 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.3962, allocations: 9.25 kB / 0.6693 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.3963, allocations: 27.89 kB / 0.6693 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3963, allocations: 0 / 0.6693 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.386e-05/0.3964, allocations: 69.94 kB / 0.6694 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3964, allocations: 4.906 kB / 0.6694 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3964, allocations: 3.984 kB / 0.6694 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3964, allocations: 1.5 kB / 0.6694 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.3965, allocations: 6.562 kB / 0.6694 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3965, allocations: 0 / 0.6694 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.3965, allocations: 1.062 kB / 0.6694 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.3966, allocations: 1.312 kB / 0.6694 GB, free: 2.07 MB / 0.4981 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 6.536e-05/0.3966, allocations: 113.1 kB / 0.6695 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3966, allocations: 9.25 kB / 0.6695 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.3968, allocations: 72.3 kB / 0.6696 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3968, allocations: 1.469 kB / 0.6696 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3968, allocations: 0 / 0.6696 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3968, allocations: 0 / 0.6696 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.994e-05/0.3969, allocations: 172.1 kB / 0.6698 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3969, allocations: 0 / 0.6698 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3969, allocations: 12.58 kB / 0.6698 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.397, allocations: 1 kB / 0.6698 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.397, allocations: 4 kB / 0.6698 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.397, allocations: 1.188 kB / 0.6698 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.397, allocations: 0 / 0.6698 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3971, allocations: 102.4 kB / 0.6699 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.3971, allocations: 90.42 kB / 0.67 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3972, allocations: 9.219 kB / 0.67 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.3972, allocations: 1.25 kB / 0.67 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3972, allocations: 1.219 kB / 0.67 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3972, allocations: 6.375 kB / 0.67 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.084e-05/0.3972, allocations: 75.28 kB / 0.6701 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3972, allocations: 0 / 0.6701 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002402/0.3975, allocations: 32.92 kB / 0.6701 GB, free: 1.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (6): * Single equations (assignments): 6 * 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.0004394/0.3979, allocations: 0.6924 MB / 0.6708 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3981, allocations: 23.8 kB / 0.6708 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3981, allocations: 1.469 kB / 0.6708 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.3981, allocations: 23.66 kB / 0.6708 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.3982, allocations: 5.625 kB / 0.6708 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.399, allocations: 1.131 MB / 0.6719 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3993, allocations: 0.6781 MB / 0.6726 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.635e-05/0.3993, allocations: 3.719 kB / 0.6726 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3994, allocations: 13.66 kB / 0.6726 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.3994, allocations: 4 kB / 0.6726 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.4208, allocations: 1.844 MB / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.155, allocations: 4.219 kB / 0.6744 GB, free: 13.91 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)