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.006753/0.006753, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.00156/0.00156, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8996/0.8996, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 60.14 kB / 0.5852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3776, allocations: 80.92 MB / 0.6642 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.00148/0.3791, allocations: 0.5648 MB / 0.6648 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.381, allocations: 1.596 MB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.381, allocations: 1.219 kB / 0.6663 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.381, allocations: 3.938 kB / 0.6663 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.3811, allocations: 1.406 kB / 0.6663 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3817, allocations: 201 kB / 0.6665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.3817, allocations: 18.73 kB / 0.6665 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.3818, allocations: 9.234 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.3818, allocations: 3.969 kB / 0.6665 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.3818, allocations: 16.02 kB / 0.6666 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3819, allocations: 1.312 kB / 0.6666 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.3823, allocations: 275.1 kB / 0.6668 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.3823, allocations: 9.141 kB / 0.6668 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.3824, allocations: 9.438 kB / 0.6668 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3826, allocations: 172 kB / 0.667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3826, allocations: 0 / 0.667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3826, allocations: 0 / 0.667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3827, allocations: 5.438 kB / 0.667 GB, free: 5.129 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.0003207/0.383, allocations: 367.9 kB / 0.6674 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.383, allocations: 9 kB / 0.6674 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.3831, allocations: 32.25 kB / 0.6674 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.3838, allocations: 74.27 kB / 0.6675 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/0.3839, allocations: 173.6 kB / 0.6676 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3839, allocations: 5.469 kB / 0.6676 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3839, allocations: 8.938 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3841, allocations: 80.86 kB / 0.6677 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3841, allocations: 0 / 0.6677 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3841, allocations: 3.984 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3842, allocations: 1.156 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.3844, allocations: 85.95 kB / 0.6678 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.3845, allocations: 178.7 kB / 0.668 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3847, allocations: 86.61 kB / 0.6681 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.3848, allocations: 43.05 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3848, allocations: 3.984 kB / 0.6681 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3848, allocations: 35.62 kB / 0.6681 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3848, allocations: 1.312 kB / 0.6681 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.000306/0.3851, allocations: 144.1 kB / 0.6683 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.3852, allocations: 52.75 kB / 0.6683 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.3852, allocations: 105.8 kB / 0.6684 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.3852, allocations: 25.7 kB / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.3852, allocations: 85.3 kB / 0.6685 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3853, allocations: 14.17 kB / 0.6686 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3853, allocations: 24.11 kB / 0.6686 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.3854, allocations: 320.2 kB / 0.6689 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.3854, allocations: 35.34 kB / 0.6689 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.3855, allocations: 32 kB / 0.6689 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3856, allocations: 75.22 kB / 0.669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3856, allocations: 7.922 kB / 0.669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001823/0.3858, allocations: 110.9 kB / 0.6691 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3858, allocations: 4.875 kB / 0.6691 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3859, allocations: 0 / 0.6691 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3859, allocations: 1.156 kB / 0.6691 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3861, allocations: 21.91 kB / 0.6692 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3861, allocations: 5.531 kB / 0.6692 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3862, allocations: 14.8 kB / 0.6692 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3862, allocations: 2.844 kB / 0.6692 GB, free: 3.074 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.69e-05/0.3863, allocations: 119.9 kB / 0.6693 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.3863, allocations: 2.438 kB / 0.6693 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3866, allocations: 216.7 kB / 0.6695 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3867, allocations: 5.531 kB / 0.6695 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.3867, allocations: 0 / 0.6695 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3867, allocations: 1.125 kB / 0.6695 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3868, allocations: 220.1 kB / 0.6697 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3868, allocations: 0 / 0.6697 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.387, allocations: 29.39 kB / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.387, allocations: 5.219 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.387, allocations: 1.125 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.387, allocations: 1.062 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.387, allocations: 0 / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3872, allocations: 198.1 kB / 0.6699 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.3873, allocations: 83.88 kB / 0.67 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3873, allocations: 1.312 kB / 0.67 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.3874, allocations: 5.375 kB / 0.67 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.3874, allocations: 17.42 kB / 0.67 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3874, allocations: 6.672 kB / 0.6701 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.3875, allocations: 84.22 kB / 0.6701 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3875, allocations: 1.156 kB / 0.6701 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000301/0.3878, allocations: 71.86 kB / 0.6702 GB, free: 2.199 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.00064/0.3884, allocations: 0.8094 MB / 0.671 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3886, allocations: 108.2 kB / 0.6711 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3887, allocations: 4 kB / 0.6711 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.3888, allocations: 74 kB / 0.6712 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.3889, allocations: 18.72 kB / 0.6712 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.3894, allocations: 273 kB / 0.6715 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3895, allocations: 0.6937 MB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.195e-05/0.3896, allocations: 27.16 kB / 0.6722 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.3897, allocations: 26.98 kB / 0.6722 GB, free: 452 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.3897, allocations: 0 / 0.6722 GB, free: 452 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.4098, allocations: 3.638 MB / 0.6757 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.836, allocations: 14.45 kB / 0.6757 GB, free: 14.61 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)