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.008018/0.008019, allocations: 101 kB / 15.73 MB, free: 6.059 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.002143/0.002143, allocations: 194.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.203/2.203, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.294/1.294, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 68.88 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2399, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.002888/0.2429, allocations: 0.5509 MB / 0.6598 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003766/0.2467, allocations: 1.6 MB / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.2468, allocations: 0 / 0.6613 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.2469, allocations: 4 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.2469, allocations: 0 / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.248, allocations: 203.4 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.2482, allocations: 23.97 kB / 0.6616 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.2482, allocations: 3.984 kB / 0.6616 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.506e-05/0.2483, allocations: 4 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.2483, allocations: 8 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2483, allocations: 4 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008368/0.2492, allocations: 271.5 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.2493, allocations: 15.92 kB / 0.6619 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2493, allocations: 7.922 kB / 0.6619 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.2498, allocations: 171.8 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2499, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2499, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2499, allocations: 0 / 0.662 GB, free: 7.859 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.0006708/0.2506, allocations: 375 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.2507, allocations: 9.109 kB / 0.6624 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.2507, allocations: 30.75 kB / 0.6624 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.2519, allocations: 76.86 kB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.2522, allocations: 176.3 kB / 0.6627 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2522, allocations: 8.062 kB / 0.6627 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.2523, allocations: 8 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.2526, allocations: 73.61 kB / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2526, allocations: 0 / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2526, allocations: 8 kB / 0.6628 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2526, allocations: 3.984 kB / 0.6628 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.253, allocations: 79.88 kB / 0.6628 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.2534, allocations: 185.6 kB / 0.663 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.2537, allocations: 98.44 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2539, allocations: 40.95 kB / 0.6632 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2539, allocations: 0 / 0.6632 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2539, allocations: 34.56 kB / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.254, allocations: 4 kB / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0005628/0.2545, allocations: 141.5 kB / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.2546, allocations: 55.41 kB / 0.6634 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2547, allocations: 105.8 kB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.2548, allocations: 25.7 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.2549, allocations: 80.14 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.84e-05/0.2549, allocations: 27.77 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.255, allocations: 21.7 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002928/0.2553, allocations: 318.8 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.2555, allocations: 31.97 kB / 0.664 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2557, allocations: 27.97 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2559, allocations: 77.44 kB / 0.6641 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.256, allocations: 3.938 kB / 0.6641 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000364/0.2563, allocations: 117.6 kB / 0.6642 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2564, allocations: 5.875 kB / 0.6642 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2564, allocations: 4 kB / 0.6642 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2564, allocations: 4 kB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2567, allocations: 19.91 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2567, allocations: 0 / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2569, allocations: 7.984 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.257, allocations: 4 kB / 0.6642 GB, free: 5.387 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 0.000148/0.2571, allocations: 121.8 kB / 0.6643 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2571, allocations: 0 / 0.6643 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.2579, allocations: 219.8 kB / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2579, allocations: 0 / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.2579, allocations: 3.938 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.2579, allocations: 7.938 kB / 0.6646 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.2583, allocations: 213.5 kB / 0.6648 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2583, allocations: 0 / 0.6648 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2586, allocations: 31.92 kB / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2586, allocations: 0 / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2586, allocations: 4 kB / 0.6648 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.2586, allocations: 7.984 kB / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.2587, allocations: 4 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.2591, allocations: 185 kB / 0.665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.2592, allocations: 89 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.2593, allocations: 3.938 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.2594, allocations: 12 kB / 0.6651 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2595, allocations: 7.984 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.2595, allocations: 11.98 kB / 0.6651 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.154e-05/0.2596, allocations: 83.28 kB / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2596, allocations: 0 / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005635/0.2602, allocations: 67.86 kB / 0.6652 GB, free: 4.227 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.001371/0.2616, allocations: 0.8074 MB / 0.666 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.262, allocations: 106.7 kB / 0.6661 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.262, allocations: 0 / 0.6661 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.2622, allocations: 79.91 kB / 0.6662 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2625, allocations: 4 kB / 0.6662 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.2634, allocations: 280.1 kB / 0.6665 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.264, allocations: 0.6924 MB / 0.6672 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.2641, allocations: 24.25 kB / 0.6672 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2643, allocations: 31.41 kB / 0.6672 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.2643, allocations: 4 kB / 0.6672 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.3064, allocations: 3.652 MB / 0.6708 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.546, allocations: 8.781 kB / 0.6708 GB, free: 14.66 MB / 0.5137 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)