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.001095/0.001095, 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.001085/0.001085, allocations: 194.3 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9561/0.9561, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.12 kB / 0.5055 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 80.92 MB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001886/0.1528, allocations: 0.5521 MB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1549, allocations: 1.601 MB / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.155, allocations: 0 / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.155, allocations: 3.938 kB / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.1551, allocations: 0 / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.1557, allocations: 199.4 kB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.1558, allocations: 19.98 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1559, allocations: 11.98 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1559, allocations: 11.92 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.635e-05/0.156, allocations: 0 / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.156, allocations: 4 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.1565, allocations: 279.5 kB / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1565, allocations: 7.984 kB / 0.5871 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1565, allocations: 15.88 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1568, allocations: 159.6 kB / 0.5873 GB, free: 1.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1569, allocations: 0 / 0.5873 GB, free: 1.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1569, allocations: 4 kB / 0.5873 GB, free: 1.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1569, allocations: 4 kB / 0.5873 GB, free: 1.516 MB / 494.1 MB 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.0003797/0.1573, allocations: 367.7 kB / 0.5877 GB, free: 1.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1573, allocations: 8.031 kB / 0.5877 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.1574, allocations: 30.75 kB / 0.5877 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.1582, allocations: 80.77 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1583, allocations: 164.4 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1583, allocations: 384 / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1584, allocations: 7.938 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1586, allocations: 81.55 kB / 0.588 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1586, allocations: 4 kB / 0.588 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1586, allocations: 3.984 kB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1586, allocations: 0 / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1588, allocations: 87.88 kB / 0.5881 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.159, allocations: 189.6 kB / 0.5883 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1592, allocations: 86.45 kB / 0.5884 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1593, allocations: 36.95 kB / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1593, allocations: 0 / 0.5884 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1593, allocations: 38.5 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.1594, allocations: 7.984 kB / 0.5885 GB, free: 180 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003372/0.1597, allocations: 141.6 kB / 0.5886 GB, free: 32 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1597, allocations: 55.34 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.1598, allocations: 109.8 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1599, allocations: 25.7 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.1599, allocations: 84.14 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.1599, allocations: 19.73 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.16, allocations: 21.7 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1601, allocations: 322.8 kB / 0.5892 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.1602, allocations: 27.97 kB / 0.5892 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.1602, allocations: 31.97 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1604, allocations: 76.75 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1604, allocations: 3.984 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002147/0.1606, allocations: 114.1 kB / 0.5894 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1606, allocations: 4 kB / 0.5894 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1607, allocations: 4 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1607, allocations: 64 / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1609, allocations: 23.97 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1609, allocations: 0 / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.161, allocations: 7.984 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.161, allocations: 4 kB / 0.5895 GB, free: 15.06 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 8.502e-05/0.1611, allocations: 125.7 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.1612, allocations: 0 / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.1616, allocations: 217 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1616, allocations: 0 / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1616, allocations: 4 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1616, allocations: 0 / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1618, allocations: 213.5 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1618, allocations: 0 / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.162, allocations: 35.92 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.162, allocations: 0 / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.162, allocations: 0 / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.162, allocations: 4 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.162, allocations: 4 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1623, allocations: 191.7 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1623, allocations: 88.95 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1624, allocations: 4 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.1625, allocations: 4 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1625, allocations: 11.98 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1625, allocations: 7.984 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.1626, allocations: 91.28 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1626, allocations: 0 / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000306/0.1629, allocations: 63.98 kB / 0.5905 GB, free: 13.91 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.000766/0.1636, allocations: 0.8113 MB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1639, allocations: 115.9 kB / 0.5914 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1639, allocations: 4 kB / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.164, allocations: 79.89 kB / 0.5915 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1642, allocations: 8 kB / 0.5915 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.1648, allocations: 264.6 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.165, allocations: 0.6981 MB / 0.5924 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.1651, allocations: 28.28 kB / 0.5925 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.1652, allocations: 23.42 kB / 0.5925 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1652, allocations: 4 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.186, allocations: 3.601 MB / 0.596 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.539, allocations: 9.812 kB / 0.596 GB, free: 8.387 MB / 0.4981 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)