Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CylindricalHeatSource_Integrand,fileNamePrefix="IDEAS_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_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.001106/0.001106, 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.001214/0.001214, allocations: 193.7 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7273/0.7273, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.36 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3792, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001673/0.3809, allocations: 0.5603 MB / 0.5808 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3826, allocations: 1.606 MB / 0.5824 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.3826, allocations: 1.062 kB / 0.5824 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.3827, allocations: 0 / 0.5824 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.3827, allocations: 0.9062 kB / 0.5824 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3833, allocations: 205 kB / 0.5825 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.3834, allocations: 19.69 kB / 0.5826 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.3834, allocations: 5.797 kB / 0.5826 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.3834, allocations: 9.328 kB / 0.5826 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.665e-05/0.3835, allocations: 5.609 kB / 0.5826 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3835, allocations: 4.969 kB / 0.5826 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.384, allocations: 275.1 kB / 0.5829 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.384, allocations: 10.55 kB / 0.5829 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.384, allocations: 10.73 kB / 0.5829 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3843, allocations: 160.2 kB / 0.583 GB, free: 2.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3843, allocations: 4.844 kB / 0.583 GB, free: 2.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3843, allocations: 0 / 0.583 GB, free: 2.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3843, allocations: 4.812 kB / 0.583 GB, free: 2.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002856/0.3846, allocations: 368.9 kB / 0.5834 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3847, allocations: 13.66 kB / 0.5834 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.3847, allocations: 32.28 kB / 0.5834 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.3855, allocations: 74.8 kB / 0.5835 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.3856, allocations: 164.1 kB / 0.5837 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3856, allocations: 9.422 kB / 0.5837 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.3856, allocations: 4.875 kB / 0.5837 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3858, allocations: 80.36 kB / 0.5837 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3858, allocations: 0 / 0.5837 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3858, allocations: 0 / 0.5837 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3858, allocations: 1.062 kB / 0.5838 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3861, allocations: 89.5 kB / 0.5838 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.3862, allocations: 184.2 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3864, allocations: 91.14 kB / 0.5841 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.3865, allocations: 39.91 kB / 0.5841 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.3865, allocations: 0 / 0.5841 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3865, allocations: 32.69 kB / 0.5842 GB, free: 1.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.3865, allocations: 0 / 0.5842 GB, free: 1.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003378/0.3868, allocations: 144.5 kB / 0.5843 GB, free: 1.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3869, allocations: 52.12 kB / 0.5844 GB, free: 1.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.3869, allocations: 105.1 kB / 0.5845 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.387, allocations: 31.7 kB / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.387, allocations: 88.64 kB / 0.5846 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.387, allocations: 16.25 kB / 0.5846 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.3871, allocations: 26.78 kB / 0.5846 GB, free: 1.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.3871, allocations: 314 kB / 0.5849 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.3872, allocations: 31.06 kB / 0.5849 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/0.3873, allocations: 35.97 kB / 0.585 GB, free: 1.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3874, allocations: 73.42 kB / 0.585 GB, free: 1.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3874, allocations: 4 kB / 0.585 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.3876, allocations: 122.4 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3877, allocations: 4.281 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3877, allocations: 0 / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3877, allocations: 1.844 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.3879, allocations: 18 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3879, allocations: 0.875 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.388, allocations: 3.484 kB / 0.5852 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.388, allocations: 6 kB / 0.5852 GB, free: 1.035 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 (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.026e-05/0.3881, allocations: 122.8 kB / 0.5853 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.3881, allocations: 1.812 kB / 0.5853 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.3886, allocations: 218.5 kB / 0.5855 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3886, allocations: 1.844 kB / 0.5855 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3886, allocations: 1.031 kB / 0.5855 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3886, allocations: 5.359 kB / 0.5855 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3887, allocations: 221 kB / 0.5857 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3887, allocations: 1.406 kB / 0.5857 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3889, allocations: 29.28 kB / 0.5858 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3889, allocations: 0.75 kB / 0.5858 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3889, allocations: 2.562 kB / 0.5858 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3889, allocations: 0 / 0.5858 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3889, allocations: 0.7188 kB / 0.5858 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3892, allocations: 199.1 kB / 0.586 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.3892, allocations: 85.83 kB / 0.586 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3892, allocations: 4.703 kB / 0.5861 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.3893, allocations: 7.438 kB / 0.5861 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.3894, allocations: 11.45 kB / 0.5861 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3894, allocations: 4.906 kB / 0.5861 GB, free: 344 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.3894, allocations: 85.23 kB / 0.5862 GB, free: 264 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3894, allocations: 0 / 0.5862 GB, free: 264 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3897, allocations: 67.84 kB / 0.5862 GB, free: 252 kB / 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 (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.0007674/0.3905, allocations: 0.8199 MB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3907, allocations: 114 kB / 0.5871 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3908, allocations: 0 / 0.5871 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3909, allocations: 82.17 kB / 0.5872 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.391, allocations: 10.69 kB / 0.5872 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.3916, allocations: 265.9 kB / 0.5875 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3919, allocations: 0.6923 MB / 0.5881 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.392, allocations: 22.75 kB / 0.5882 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.3921, allocations: 28.11 kB / 0.5882 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3921, allocations: 0 / 0.5882 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.4118, allocations: 3.603 MB / 0.5917 GB, free: 13.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.531, allocations: 8.188 kB / 0.5917 GB, free: 13.94 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)