Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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,fileNamePrefix="IDEAS_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_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.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 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.001011/0.001011, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.29/1.29, 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.732/0.732, allocations: 132.2 MB / 422.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.17 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.361, allocations: 80.21 MB / 0.5802 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource): time 0.002153/0.3632, allocations: 1.29 MB / 0.5815 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3651, allocations: 1.337 MB / 0.5828 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.3651, allocations: 0 / 0.5828 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.3652, allocations: 0.6094 kB / 0.5828 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3653, allocations: 13.17 kB / 0.5828 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3663, allocations: 362.7 kB / 0.5832 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3664, allocations: 54.06 kB / 0.5832 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.3665, allocations: 1.531 kB / 0.5832 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.3665, allocations: 13.8 kB / 0.5832 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.3666, allocations: 17.75 kB / 0.5832 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3666, allocations: 6.109 kB / 0.5833 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/0.3675, allocations: 0.521 MB / 0.5838 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.3676, allocations: 18.47 kB / 0.5838 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.3676, allocations: 16.88 kB / 0.5838 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.3681, allocations: 341.3 kB / 0.5841 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3681, allocations: 1.031 kB / 0.5841 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3681, allocations: 7.938 kB / 0.5841 GB, free: 2.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.046e-06/0.3682, allocations: 0.7031 kB / 0.5841 GB, free: 2.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004111/0.3686, allocations: 417.7 kB / 0.5845 GB, free: 1.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3686, allocations: 10.47 kB / 0.5845 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.3686, allocations: 32.53 kB / 0.5846 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.369, allocations: 31.38 kB / 0.5846 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.3691, allocations: 177 kB / 0.5848 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3691, allocations: 1.562 kB / 0.5848 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3691, allocations: 7.344 kB / 0.5848 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3692, allocations: 65.59 kB / 0.5848 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3692, allocations: 0 / 0.5848 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3693, allocations: 4.5 kB / 0.5848 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3693, allocations: 1.75 kB / 0.5848 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3695, allocations: 55.44 kB / 0.5849 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3696, allocations: 172.2 kB / 0.5851 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3697, allocations: 60.97 kB / 0.5851 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.3698, allocations: 29.81 kB / 0.5851 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/0.3703, allocations: 204.9 kB / 0.5853 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3704, allocations: 44.77 kB / 0.5854 GB, free: 1.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3704, allocations: 0 / 0.5854 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002559/0.3706, allocations: 96.75 kB / 0.5855 GB, free: 1.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.3707, allocations: 52.78 kB / 0.5855 GB, free: 1.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.984e-05/0.3707, allocations: 111.1 kB / 0.5856 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3707, allocations: 25.7 kB / 0.5857 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.3708, allocations: 86.27 kB / 0.5857 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3708, allocations: 15.66 kB / 0.5858 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3709, allocations: 26.59 kB / 0.5858 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.3709, allocations: 323.6 kB / 0.5861 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.371, allocations: 17.39 kB / 0.5861 GB, free: 0.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.371, allocations: 14.64 kB / 0.5861 GB, free: 0.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/0.3711, allocations: 52.98 kB / 0.5862 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3711, allocations: 0.7188 kB / 0.5862 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001399/0.3713, allocations: 86.81 kB / 0.5863 GB, free: 480 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3713, allocations: 5.062 kB / 0.5863 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3713, allocations: 1.062 kB / 0.5863 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3713, allocations: 8.922 kB / 0.5863 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3714, allocations: 13.06 kB / 0.5863 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3715, allocations: 0 / 0.5863 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.3715, allocations: 10.8 kB / 0.5863 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.3715, allocations: 1.375 kB / 0.5863 GB, free: 464 kB / 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 (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.067e-05/0.3716, allocations: 121.7 kB / 0.5864 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.3716, allocations: 6.938 kB / 0.5864 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.3722, allocations: 282.1 kB / 0.5867 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3722, allocations: 1.469 kB / 0.5867 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3722, allocations: 4 kB / 0.5867 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3722, allocations: 1.141 kB / 0.5867 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.3723, allocations: 181.3 kB / 0.5869 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3723, allocations: 0.875 kB / 0.5869 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.3724, allocations: 13.66 kB / 0.5869 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3724, allocations: 4.469 kB / 0.5869 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3724, allocations: 5.625 kB / 0.5869 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3724, allocations: 1.531 kB / 0.5869 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3725, allocations: 0.9688 kB / 0.5869 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3726, allocations: 115.5 kB / 0.587 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3727, allocations: 83.56 kB / 0.5871 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3727, allocations: 1.875 kB / 0.5871 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.48e-05/0.3728, allocations: 0.7188 kB / 0.5871 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.3728, allocations: 5.406 kB / 0.5871 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3728, allocations: 14.77 kB / 0.5871 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.3729, allocations: 91.16 kB / 0.5872 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3729, allocations: 5.312 kB / 0.5872 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.3733, allocations: 110.4 kB / 0.5873 GB, free: 15.75 MB / 446.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 (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.0008186/0.3741, allocations: 0.788 MB / 0.5881 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.3743, allocations: 55.28 kB / 0.5881 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3743, allocations: 0 / 0.5881 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.3744, allocations: 35.59 kB / 0.5882 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3746, allocations: 13.19 kB / 0.5882 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3759, allocations: 1.37 MB / 0.5895 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3762, allocations: 0.6859 MB / 0.5902 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004142/0.3766, allocations: 269.8 kB / 0.5904 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.3767, allocations: 23.83 kB / 0.5905 GB, free: 13.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3767, allocations: 0 / 0.5905 GB, free: 13.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.3963, allocations: 3.962 MB / 0.5943 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.353, allocations: 2.406 kB / 0.5943 GB, free: 12.02 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.pipe 2>&1)