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.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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",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.005097/0.005097, allocations: 97.66 kB / 15.73 MB, free: 6.008 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.001154/0.001153, allocations: 195.1 kB / 16.68 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.336/1.336, 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.8636/0.8636, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.5852 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.001961/0.378, allocations: 1.294 MB / 0.6655 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3796, allocations: 1.334 MB / 0.6668 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.3797, allocations: 0 / 0.6668 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.3797, allocations: 3.938 kB / 0.6668 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3798, allocations: 2.719 kB / 0.6668 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.3807, allocations: 375 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.3808, allocations: 39.8 kB / 0.6672 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.3808, allocations: 9.5 kB / 0.6672 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.562e-05/0.3808, allocations: 12.17 kB / 0.6672 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.3809, allocations: 24.38 kB / 0.6672 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3809, allocations: 2.438 kB / 0.6672 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.3816, allocations: 0.5157 MB / 0.6677 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.3816, allocations: 17.56 kB / 0.6678 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.3817, allocations: 22.36 kB / 0.6678 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.3821, allocations: 343 kB / 0.6681 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3821, allocations: 4 kB / 0.6681 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3821, allocations: 1.156 kB / 0.6681 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3821, allocations: 0 / 0.6681 GB, free: 4.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004391/0.3826, allocations: 418.4 kB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3826, allocations: 9.562 kB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.3827, allocations: 36.31 kB / 0.6685 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003093/0.383, allocations: 33.14 kB / 0.6686 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3831, allocations: 180.4 kB / 0.6688 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.3831, allocations: 9.5 kB / 0.6688 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3831, allocations: 5.25 kB / 0.6688 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3832, allocations: 56.94 kB / 0.6688 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3833, allocations: 0 / 0.6688 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3833, allocations: 4 kB / 0.6688 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3833, allocations: 1.062 kB / 0.6688 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3835, allocations: 55.19 kB / 0.6689 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3836, allocations: 175.4 kB / 0.669 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3838, allocations: 66.23 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.3838, allocations: 29 kB / 0.6691 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.3843, allocations: 202.5 kB / 0.6693 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3844, allocations: 40 kB / 0.6694 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3844, allocations: 0 / 0.6694 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002482/0.3846, allocations: 93.53 kB / 0.6695 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.3847, allocations: 51.41 kB / 0.6695 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.3847, allocations: 114.1 kB / 0.6696 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3848, allocations: 26.73 kB / 0.6696 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/0.3848, allocations: 89.94 kB / 0.6697 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.3848, allocations: 13.89 kB / 0.6697 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3849, allocations: 28.92 kB / 0.6698 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.3849, allocations: 320.3 kB / 0.6701 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.385, allocations: 20.08 kB / 0.6701 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.385, allocations: 14.23 kB / 0.6701 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.932e-05/0.3851, allocations: 51.52 kB / 0.6702 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3851, allocations: 3.938 kB / 0.6702 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001265/0.3852, allocations: 86.53 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3853, allocations: 4.781 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3853, allocations: 9.125 kB / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3853, allocations: 0 / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3854, allocations: 10.97 kB / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3854, allocations: 0 / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.3854, allocations: 9.109 kB / 0.6703 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3855, allocations: 8.094 kB / 0.6703 GB, free: 2.383 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 (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 prepare postOptimizeDAE: time 6.061e-05/0.3855, allocations: 113.5 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.3855, allocations: 6.266 kB / 0.6704 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.386, allocations: 297.1 kB / 0.6707 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.386, allocations: 5.375 kB / 0.6707 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.386, allocations: 0 / 0.6707 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.386, allocations: 0 / 0.6707 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.267e-05/0.3861, allocations: 176.3 kB / 0.6709 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3861, allocations: 1.438 kB / 0.6709 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.3862, allocations: 14.48 kB / 0.6709 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3862, allocations: 1.375 kB / 0.6709 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3862, allocations: 6.562 kB / 0.6709 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3862, allocations: 64 / 0.6709 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3862, allocations: 4 kB / 0.6709 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.3864, allocations: 119 kB / 0.671 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.3864, allocations: 82.41 kB / 0.6711 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3864, allocations: 1.625 kB / 0.6711 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.3865, allocations: 0 / 0.6711 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.3865, allocations: 7.812 kB / 0.6711 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.3865, allocations: 6.312 kB / 0.6711 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.3866, allocations: 92.45 kB / 0.6712 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3866, allocations: 0 / 0.6712 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000373/0.3869, allocations: 115.1 kB / 0.6713 GB, free: 1.551 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 (7): * Single equations (assignments): 7 * 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.0006473/0.3876, allocations: 0.78 MB / 0.672 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.3878, allocations: 55.88 kB / 0.6721 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3878, allocations: 5.5 kB / 0.6721 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.3878, allocations: 30.86 kB / 0.6721 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.388, allocations: 19.72 kB / 0.6722 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.3892, allocations: 1.376 MB / 0.6735 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3895, allocations: 0.6875 MB / 0.6742 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.3898, allocations: 268.8 kB / 0.6744 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3899, allocations: 20.03 kB / 0.6744 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.3899, allocations: 1.406 kB / 0.6744 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.4101, allocations: 4.016 MB / 0.6784 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.88, allocations: 9.438 kB / 0.6784 GB, free: 12.71 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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_CylindricalHeatSource.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)