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.007007/0.007007, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.00162/0.00162, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.418/1.418, 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/package.mo): time 0.7673/0.7673, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4052, allocations: 80.2 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001521/0.4067, allocations: 0.5541 MB / 0.6598 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.4085, allocations: 1.599 MB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.4086, allocations: 3.938 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4086, allocations: 0.5625 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.519e-05/0.4087, allocations: 5.188 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.4093, allocations: 199.9 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.4094, allocations: 23.08 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.4094, allocations: 2.141 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.4094, allocations: 8.391 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.4095, allocations: 17.75 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4095, allocations: 1.594 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.4099, allocations: 274.4 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.41, allocations: 5.781 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.41, allocations: 13 kB / 0.6619 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.4103, allocations: 162.8 kB / 0.662 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4103, allocations: 0.75 kB / 0.662 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4103, allocations: 1.219 kB / 0.662 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4103, allocations: 0 / 0.662 GB, free: 8.117 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.0002984/0.4106, allocations: 378.2 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4107, allocations: 9.938 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.4107, allocations: 32.72 kB / 0.6624 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007529/0.4115, allocations: 73.95 kB / 0.6625 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.222e-05/0.4116, allocations: 170.5 kB / 0.6627 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4116, allocations: 5.5 kB / 0.6627 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.4116, allocations: 1.344 kB / 0.6627 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4118, allocations: 79.33 kB / 0.6627 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4118, allocations: 9.859 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4118, allocations: 7.938 kB / 0.6628 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4118, allocations: 0 / 0.6628 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.4121, allocations: 82.17 kB / 0.6628 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.4122, allocations: 179.5 kB / 0.663 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.4124, allocations: 87.81 kB / 0.6631 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.4125, allocations: 42.97 kB / 0.6631 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.4125, allocations: 0 / 0.6631 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.4125, allocations: 31.97 kB / 0.6632 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.4125, allocations: 0 / 0.6632 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003065/0.4128, allocations: 148.8 kB / 0.6633 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.4128, allocations: 56.44 kB / 0.6634 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.4129, allocations: 106 kB / 0.6635 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4129, allocations: 25.7 kB / 0.6635 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.155e-05/0.4129, allocations: 89.25 kB / 0.6636 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.413, allocations: 10.44 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.413, allocations: 27.56 kB / 0.6636 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.4131, allocations: 312.2 kB / 0.6639 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.4131, allocations: 30.97 kB / 0.6639 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.4132, allocations: 39.73 kB / 0.664 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.4133, allocations: 76.09 kB / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4133, allocations: 3.938 kB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.4135, allocations: 115 kB / 0.6642 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4136, allocations: 4.625 kB / 0.6642 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4136, allocations: 1.156 kB / 0.6642 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4136, allocations: 0 / 0.6642 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4138, allocations: 18.53 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4138, allocations: 1.062 kB / 0.6642 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4139, allocations: 11.31 kB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.4139, allocations: 9.859 kB / 0.6642 GB, free: 6.176 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.716e-05/0.414, allocations: 117.4 kB / 0.6643 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.414, allocations: 5.312 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.4144, allocations: 227.2 kB / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4144, allocations: 1.312 kB / 0.6645 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4144, allocations: 3.938 kB / 0.6645 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4144, allocations: 5.406 kB / 0.6646 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.4145, allocations: 211.7 kB / 0.6648 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4145, allocations: 0 / 0.6648 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.4147, allocations: 34.05 kB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4147, allocations: 0 / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4147, allocations: 2.219 kB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4147, allocations: 0 / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4147, allocations: 1.125 kB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.415, allocations: 194.3 kB / 0.665 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.415, allocations: 84.03 kB / 0.6651 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.415, allocations: 5.156 kB / 0.6651 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.4151, allocations: 2.625 kB / 0.6651 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.4151, allocations: 16.92 kB / 0.6651 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4152, allocations: 2.438 kB / 0.6651 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.487e-05/0.4152, allocations: 92.36 kB / 0.6652 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4152, allocations: 1.5 kB / 0.6652 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003136/0.4155, allocations: 60.31 kB / 0.6652 GB, free: 5.301 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.0005955/0.4161, allocations: 0.8219 MB / 0.666 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.4163, allocations: 107 kB / 0.6661 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4163, allocations: 0 / 0.6661 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.4164, allocations: 78.34 kB / 0.6662 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.4166, allocations: 7.234 kB / 0.6662 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.4171, allocations: 280.6 kB / 0.6665 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.4172, allocations: 0.6934 MB / 0.6672 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.975e-05/0.4173, allocations: 22.8 kB / 0.6672 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.4174, allocations: 30.91 kB / 0.6672 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4174, allocations: 0 / 0.6672 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.4363, allocations: 3.647 MB / 0.6708 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.841, allocations: 21.17 kB / 0.6708 GB, free: 1.703 MB / 0.4981 GB (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)