Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 103.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.35/1.35, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8087/0.8087, allocations: 133.9 MB / 442.8 MB, free: 11.77 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 70.27 kB / 0.6135 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 85.85 MB / 0.6973 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002448/0.159, allocations: 1.462 MB / 0.6988 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004632/0.1637, allocations: 2.954 MB / 0.7016 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.1637, allocations: 0 / 0.7016 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.1637, allocations: 7.922 kB / 0.7017 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.1638, allocations: 15.8 kB / 0.7017 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.1677, allocations: 1.642 MB / 0.7033 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.1678, allocations: 47.67 kB / 0.7033 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1679, allocations: 3.984 kB / 0.7033 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.1679, allocations: 15.94 kB / 0.7033 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1679, allocations: 15.94 kB / 0.7034 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1679, allocations: 4 kB / 0.7034 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1703, allocations: 1.587 MB / 0.7049 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1703, allocations: 11.92 kB / 0.7049 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1703, allocations: 23.86 kB / 0.7049 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1718, allocations: 1.107 MB / 0.706 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1718, allocations: 0 / 0.706 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1718, allocations: 0 / 0.706 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1718, allocations: 7.938 kB / 0.706 GB, free: 10.06 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006869/0.1725, allocations: 0.5363 MB / 0.7066 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1725, allocations: 8.031 kB / 0.7066 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.1726, allocations: 106 kB / 0.7067 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.1726, allocations: 88.17 kB / 0.7067 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1728, allocations: 247.6 kB / 0.707 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.1729, allocations: 162.4 kB / 0.7071 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.173, allocations: 158.6 kB / 0.7073 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.1731, allocations: 105 kB / 0.7074 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.1731, allocations: 79.22 kB / 0.7075 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.1732, allocations: 150.6 kB / 0.7076 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.1732, allocations: 150.6 kB / 0.7078 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.1733, allocations: 154.6 kB / 0.7079 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1736, allocations: 465.9 kB / 0.7083 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.1737, allocations: 173.1 kB / 0.7085 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.1738, allocations: 84.14 kB / 0.7086 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.1738, allocations: 75.28 kB / 0.7087 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.1739, allocations: 109.8 kB / 0.7088 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1739, allocations: 0 / 0.7088 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.002e-05/0.174, allocations: 37.59 kB / 0.7088 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.174, allocations: 126.7 kB / 0.7089 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1742, allocations: 136.2 kB / 0.7091 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1742, allocations: 25.7 kB / 0.7091 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.1743, allocations: 100.1 kB / 0.7092 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1743, allocations: 0 / 0.7092 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1743, allocations: 13.72 kB / 0.7092 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1744, allocations: 326.8 kB / 0.7095 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.1745, allocations: 4 kB / 0.7095 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.1745, allocations: 4 kB / 0.7095 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.1745, allocations: 12.86 kB / 0.7095 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1745, allocations: 0 / 0.7095 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001358/0.1747, allocations: 57.69 kB / 0.7096 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1747, allocations: 8.062 kB / 0.7096 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.1747, allocations: 4 kB / 0.7096 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1747, allocations: 0 / 0.7096 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-06/0.1747, allocations: 3.984 kB / 0.7096 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1747, allocations: 3.984 kB / 0.7096 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.1747, allocations: 3.953 kB / 0.7096 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1747, allocations: 4 kB / 0.7096 GB, free: 6.16 MB / 0.5294 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 0.0001275/0.1749, allocations: 193 kB / 0.7098 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.1749, allocations: 112.9 kB / 0.7099 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.175, allocations: 108.8 kB / 0.71 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/0.1751, allocations: 184.2 kB / 0.7102 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/0.1752, allocations: 188.2 kB / 0.7103 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.992e-05/0.1753, allocations: 176.3 kB / 0.7105 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1755, allocations: 417.1 kB / 0.7109 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-05/0.1756, allocations: 108.9 kB / 0.711 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.1756, allocations: 101 kB / 0.7111 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.595e-05/0.1757, allocations: 188.2 kB / 0.7113 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/0.1758, allocations: 184.3 kB / 0.7115 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.199e-05/0.1759, allocations: 176.3 kB / 0.7116 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.348e-05/0.176, allocations: 184.2 kB / 0.7118 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1761, allocations: 311.7 kB / 0.7121 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.1762, allocations: 186 kB / 0.7123 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.1763, allocations: 176.3 kB / 0.7125 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.1764, allocations: 108.9 kB / 0.7126 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.1765, allocations: 180.3 kB / 0.7127 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.1765, allocations: 112.9 kB / 0.7128 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.1766, allocations: 97.3 kB / 0.7129 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1766, allocations: 0 / 0.7129 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007466/0.1773, allocations: 295 kB / 0.7132 GB, free: 2.227 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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.001485/0.1788, allocations: 1.196 MB / 0.7144 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.179, allocations: 41.64 kB / 0.7144 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.179, allocations: 4.062 kB / 0.7144 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.179, allocations: 0 / 0.7144 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1794, allocations: 463.7 kB / 0.7149 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1809, allocations: 1.615 MB / 0.7164 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1813, allocations: 0.6962 MB / 0.7171 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.331e-05/0.1813, allocations: 0 / 0.7171 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1813, allocations: 15.44 kB / 0.7171 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1813, allocations: 0 / 0.7171 GB, free: 14.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2126, allocations: 7.25 MB / 0.7242 GB, free: 7.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.177, allocations: 12.11 kB / 0.7242 GB, free: 7.023 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.594833448994905] Failed to read output from testmodel.py, exit status != 0: 8.247625681993668 8.272712564 8.096184447 Calling exit ...