Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001309/0.001309, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001583/0.001583, allocations: 215.6 kB / 22.25 MB, free: 4.855 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.789 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.7932/0.7932, allocations: 134 MB / 446.4 MB, free: 9.941 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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001977/0.001977, allocations: 69.31 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1614, allocations: 85.92 MB / 0.7024 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004403/0.1658, allocations: 2.824 MB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.1689, allocations: 1.962 MB / 0.7071 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1691, allocations: 4 kB / 0.7071 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.1706, allocations: 461.8 kB / 0.7076 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.171, allocations: 150.8 kB / 0.7077 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.1711, allocations: 51.95 kB / 0.7077 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.1717, allocations: 457.8 kB / 0.7082 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.1719, allocations: 99.84 kB / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.1722, allocations: 167.4 kB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1725, allocations: 163.1 kB / 0.7086 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1725, allocations: 36 kB / 0.7086 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.1726, allocations: 36 kB / 0.7087 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1727, allocations: 99.55 kB / 0.7088 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1729, allocations: 179.2 kB / 0.7089 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.1735, allocations: 0.5525 MB / 0.7095 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1735, allocations: 0 / 0.7095 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1735, allocations: 4 kB / 0.7095 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1735, allocations: 0 / 0.7095 GB, free: 9.793 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001048/0.1745, allocations: 0.6367 MB / 0.7101 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1746, allocations: 12.62 kB / 0.7101 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.1746, allocations: 54.73 kB / 0.7102 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.1747, allocations: 48.66 kB / 0.7102 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.1753, allocations: 324.5 kB / 0.7105 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1753, allocations: 20.56 kB / 0.7105 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1753, allocations: 20 kB / 0.7105 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1757, allocations: 199.3 kB / 0.7107 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1758, allocations: 4 kB / 0.7107 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1758, allocations: 8 kB / 0.7108 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1758, allocations: 4 kB / 0.7108 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.1762, allocations: 165.7 kB / 0.7109 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1773, allocations: 0.6823 MB / 0.7116 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.1776, allocations: 149.7 kB / 0.7117 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.1779, allocations: 100.8 kB / 0.7118 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1779, allocations: 11.94 kB / 0.7118 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1779, allocations: 30.56 kB / 0.7119 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 3.807e-06/0.1779, allocations: 3.984 kB / 0.7119 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006066/0.1785, allocations: 253.6 kB / 0.7121 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1786, allocations: 55.41 kB / 0.7122 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.179, allocations: 417.7 kB / 0.7126 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.179, allocations: 29.7 kB / 0.7126 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1792, allocations: 208.4 kB / 0.7128 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.1793, allocations: 71.42 kB / 0.7128 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.1793, allocations: 25.72 kB / 0.7129 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1795, allocations: 350.8 kB / 0.7132 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1796, allocations: 59.91 kB / 0.7133 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1798, allocations: 62.72 kB / 0.7133 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.1801, allocations: 128.8 kB / 0.7134 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1801, allocations: 0 / 0.7134 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003932/0.1804, allocations: 219.2 kB / 0.7137 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1805, allocations: 4 kB / 0.7137 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1805, allocations: 0 / 0.7137 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1805, allocations: 7.938 kB / 0.7137 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1807, allocations: 55.89 kB / 0.7137 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1807, allocations: 0 / 0.7137 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1809, allocations: 23.84 kB / 0.7137 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1809, allocations: 4 kB / 0.7137 GB, free: 5.219 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 (20): * Single equations (assignments): 20 * 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.0001719/0.1811, allocations: 167.8 kB / 0.7139 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.1811, allocations: 39.7 kB / 0.7139 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.262e-05/0.1812, allocations: 39.53 kB / 0.714 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.1812, allocations: 11.92 kB / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1812, allocations: 0 / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1812, allocations: 0 / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.1816, allocations: 308.5 kB / 0.7143 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1816, allocations: 3.938 kB / 0.7143 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1819, allocations: 55.97 kB / 0.7143 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1819, allocations: 4 kB / 0.7144 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1819, allocations: 0 / 0.7144 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1819, allocations: 3.938 kB / 0.7144 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1819, allocations: 0 / 0.7144 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006376/0.1825, allocations: 385.4 kB / 0.7147 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.1826, allocations: 43.69 kB / 0.7148 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1827, allocations: 4 kB / 0.7148 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1828, allocations: 8 kB / 0.7148 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1829, allocations: 16.03 kB / 0.7148 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1829, allocations: 8 kB / 0.7148 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000331/0.1832, allocations: 299.1 kB / 0.7151 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 4 kB / 0.7151 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000301/0.1835, allocations: 71.89 kB / 0.7152 GB, free: 3.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009267/0.1844, allocations: 0.921 MB / 0.7161 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1848, allocations: 139.8 kB / 0.7162 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1848, allocations: 0 / 0.7162 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1849, allocations: 79.89 kB / 0.7163 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.1855, allocations: 102.5 kB / 0.7164 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.19, allocations: 3.491 MB / 0.7198 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.1902, allocations: 190.4 kB / 0.72 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.1903, allocations: 34.97 kB / 0.72 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.1905, allocations: 131.4 kB / 0.7201 GB, free: 14.52 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.1905, allocations: 0 / 0.7201 GB, free: 14.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.2291, allocations: 8.971 MB / 0.7289 GB, free: 5.801 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.49, allocations: 4.594 kB / 0.7289 GB, free: 5.801 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.006343889050186] Failed to read output from testmodel.py, exit status != 0: 11.600473295897245 11.621451882 11.444748159 Calling exit ...