Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.008003/0.008003, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001781/0.001781, allocations: 192.2 kB / 16.67 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 135.1 MB / 425.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.75 kB / 0.5852 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.92 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003168/0.1591, allocations: 1.386 MB / 0.6656 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.1621, allocations: 1.774 MB / 0.6673 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.1622, allocations: 4 kB / 0.6673 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.325e-05/0.1623, allocations: 11.86 kB / 0.6673 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1625, allocations: 23.91 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.1659, allocations: 1.148 MB / 0.6685 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1661, allocations: 51.72 kB / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1661, allocations: 0 / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1662, allocations: 23.91 kB / 0.6685 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.1663, allocations: 23.91 kB / 0.6686 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1663, allocations: 0 / 0.6686 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.1679, allocations: 0.8929 MB / 0.6694 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.168, allocations: 31.91 kB / 0.6695 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1681, allocations: 23.81 kB / 0.6695 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.1696, allocations: 0.8029 MB / 0.6703 GB, free: 48 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1696, allocations: 0 / 0.6703 GB, free: 48 kB / 0.4981 GB Notification: Performance of FrontEnd: time 5.63e-06/0.1697, allocations: 4 kB / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.1697, allocations: 0 / 0.6703 GB, free: 44 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001004/0.1707, allocations: 484.3 kB / 0.6707 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.1707, allocations: 12.03 kB / 0.6707 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1708, allocations: 38.73 kB / 0.6708 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1709, allocations: 12.89 kB / 0.6708 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.1711, allocations: 190.2 kB / 0.671 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1711, allocations: 0 / 0.671 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.1711, allocations: 0 / 0.671 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1713, allocations: 53.69 kB / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1713, allocations: 3.938 kB / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1713, allocations: 0 / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1713, allocations: 0 / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.1714, allocations: 20 kB / 0.6711 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.1716, allocations: 213.5 kB / 0.6713 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.1717, allocations: 46.56 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1717, allocations: 32.83 kB / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1717, allocations: 0 / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1718, allocations: 34.55 kB / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1718, allocations: 0 / 0.6714 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0002271/0.172, allocations: 117.6 kB / 0.6715 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1721, allocations: 51.44 kB / 0.6715 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1722, allocations: 159.7 kB / 0.6717 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1722, allocations: 25.7 kB / 0.6717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.1723, allocations: 100.1 kB / 0.6718 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1723, allocations: 27.75 kB / 0.6718 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.1724, allocations: 17.7 kB / 0.6718 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1725, allocations: 318.8 kB / 0.6721 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.1725, allocations: 27.98 kB / 0.6722 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.1726, allocations: 27.92 kB / 0.6722 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.49e-05/0.1727, allocations: 77.09 kB / 0.6723 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1727, allocations: 0 / 0.6723 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000115/0.1728, allocations: 89.78 kB / 0.6724 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1728, allocations: 4 kB / 0.6724 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.1729, allocations: 7.984 kB / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1729, allocations: 0 / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-06/0.1729, allocations: 4 kB / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1729, allocations: 0 / 0.6724 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.1729, allocations: 3.938 kB / 0.6724 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1729, allocations: 0 / 0.6724 GB, free: 13.65 MB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.406e-05/0.173, allocations: 127.2 kB / 0.6725 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1731, allocations: 11.91 kB / 0.6725 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.1732, allocations: 110.2 kB / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1733, allocations: 0 / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1733, allocations: 0 / 0.6726 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1733, allocations: 11.92 kB / 0.6726 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1734, allocations: 181.7 kB / 0.6728 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.1735, allocations: 4 kB / 0.6728 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1735, allocations: 0 / 0.6728 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1735, allocations: 4.031 kB / 0.6728 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1735, allocations: 0 / 0.6728 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1735, allocations: 3.938 kB / 0.6728 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1735, allocations: 0 / 0.6728 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.1736, allocations: 125 kB / 0.6729 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1737, allocations: 88.98 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1737, allocations: 0 / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.1738, allocations: 8 kB / 0.673 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1738, allocations: 7.969 kB / 0.673 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1738, allocations: 0 / 0.673 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.1739, allocations: 116.4 kB / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1739, allocations: 0 / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006516/0.1745, allocations: 203.4 kB / 0.6733 GB, free: 12.57 MB / 0.5137 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001237/0.1758, allocations: 0.8929 MB / 0.6742 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.1759, allocations: 93.61 kB / 0.6743 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.176, allocations: 3.938 kB / 0.6743 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.176, allocations: 73.67 kB / 0.6744 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1763, allocations: 13.59 kB / 0.6744 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.178, allocations: 1.61 MB / 0.676 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1783, allocations: 0.7002 MB / 0.6766 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.1783, allocations: 8 kB / 0.6766 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.1784, allocations: 23.42 kB / 0.6767 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1784, allocations: 0 / 0.6767 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2029, allocations: 5.963 MB / 0.6825 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.927, allocations: 10.44 kB / 0.6825 GB, free: 3.246 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)