Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_dev_IDEAS_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.005824/0.005824, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001591/0.001591, allocations: 195.5 kB / 16.68 MB, free: 6.375 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.14 kB / 0.5858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3821, allocations: 81.03 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00144/0.3836, allocations: 0.5578 MB / 0.6655 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3852, allocations: 1.592 MB / 0.667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.3852, allocations: 1.281 kB / 0.667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.3853, allocations: 0 / 0.667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.3853, allocations: 5.344 kB / 0.667 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.3859, allocations: 206.2 kB / 0.6672 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.3859, allocations: 22.17 kB / 0.6672 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.386, allocations: 1.469 kB / 0.6672 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.386, allocations: 2.688 kB / 0.6673 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.748e-05/0.386, allocations: 16.61 kB / 0.6673 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.386, allocations: 1.125 kB / 0.6673 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.3865, allocations: 279.3 kB / 0.6675 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.3865, allocations: 5.031 kB / 0.6675 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.3866, allocations: 14.5 kB / 0.6676 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3868, allocations: 167.3 kB / 0.6677 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3868, allocations: 0 / 0.6677 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3868, allocations: 0 / 0.6677 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3868, allocations: 3.938 kB / 0.6677 GB, free: 4.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002746/0.3871, allocations: 364.6 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3871, allocations: 9.594 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.3872, allocations: 36.17 kB / 0.6681 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/0.3879, allocations: 73.98 kB / 0.6682 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.334e-05/0.388, allocations: 170.1 kB / 0.6683 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.388, allocations: 5.344 kB / 0.6683 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.388, allocations: 5.547 kB / 0.6684 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3882, allocations: 84.44 kB / 0.6684 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3882, allocations: 7.938 kB / 0.6684 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3882, allocations: 0 / 0.6684 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3882, allocations: 1.438 kB / 0.6684 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3884, allocations: 85.09 kB / 0.6685 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3885, allocations: 179.4 kB / 0.6687 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3887, allocations: 86.36 kB / 0.6688 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.3888, allocations: 42.47 kB / 0.6688 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3888, allocations: 5.344 kB / 0.6688 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3888, allocations: 39.56 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3888, allocations: 0 / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0002926/0.3891, allocations: 144.7 kB / 0.669 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3891, allocations: 52.66 kB / 0.669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.3892, allocations: 105.7 kB / 0.6691 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3892, allocations: 25.7 kB / 0.6692 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.3892, allocations: 89.59 kB / 0.6693 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3893, allocations: 18.73 kB / 0.6693 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.3893, allocations: 26.69 kB / 0.6693 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.3893, allocations: 312.2 kB / 0.6696 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.3894, allocations: 32.31 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.3895, allocations: 30.75 kB / 0.6697 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3896, allocations: 75.77 kB / 0.6697 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3896, allocations: 3.938 kB / 0.6697 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.3898, allocations: 114.6 kB / 0.6698 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3898, allocations: 5.375 kB / 0.6699 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3898, allocations: 4 kB / 0.6699 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3898, allocations: 1.188 kB / 0.6699 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.39, allocations: 18.34 kB / 0.6699 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.39, allocations: 0 / 0.6699 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.3901, allocations: 11.48 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3901, allocations: 6.797 kB / 0.6699 GB, free: 2.699 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 5.019e-05/0.3902, allocations: 116.2 kB / 0.67 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.3902, allocations: 2.375 kB / 0.67 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3906, allocations: 224.9 kB / 0.6702 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3906, allocations: 1.531 kB / 0.6702 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3906, allocations: 4 kB / 0.6702 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3906, allocations: 5.359 kB / 0.6702 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3907, allocations: 207.2 kB / 0.6704 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3907, allocations: 0 / 0.6704 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3909, allocations: 29.64 kB / 0.6705 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3909, allocations: 1.375 kB / 0.6705 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3909, allocations: 5.25 kB / 0.6705 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3909, allocations: 1.531 kB / 0.6705 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3909, allocations: 0 / 0.6705 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3912, allocations: 201.6 kB / 0.6707 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.3912, allocations: 87.64 kB / 0.6707 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3912, allocations: 1.281 kB / 0.6707 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.3913, allocations: 6.188 kB / 0.6707 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3913, allocations: 12.11 kB / 0.6708 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3913, allocations: 7.5 kB / 0.6708 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.363e-05/0.3914, allocations: 88.53 kB / 0.6708 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 0 / 0.6708 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002998/0.3917, allocations: 68.7 kB / 0.6709 GB, free: 1.824 MB / 0.4981 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.0006001/0.3923, allocations: 0.8174 MB / 0.6717 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3925, allocations: 100 kB / 0.6718 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3925, allocations: 0 / 0.6718 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.3926, allocations: 80.5 kB / 0.6719 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.3928, allocations: 7.844 kB / 0.6719 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.3933, allocations: 285 kB / 0.6722 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3934, allocations: 0.6969 MB / 0.6728 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.3935, allocations: 22.72 kB / 0.6729 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.3936, allocations: 30.11 kB / 0.6729 GB, free: 60 kB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.3936, allocations: 1 kB / 0.6729 GB, free: 60 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.418, allocations: 3.639 MB / 0.6764 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.31, allocations: 16.83 kB / 0.6765 GB, free: 14.23 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)