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.001783/0.001783, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002068/0.002068, allocations: 215 kB / 20.13 MB, free: 2.949 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8194/0.8194, allocations: 133.9 MB / 443.5 MB, free: 13.82 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="cs",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="cs",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.001952/0.001952, allocations: 72.52 kB / 0.6142 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1565, allocations: 85.85 MB / 0.698 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004427/0.161, allocations: 3.048 MB / 0.701 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003174/0.1641, allocations: 2.196 MB / 0.7031 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.1644, allocations: 5.969 kB / 0.7031 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1659, allocations: 0.4968 MB / 0.7036 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1662, allocations: 150.8 kB / 0.7037 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.1664, allocations: 59.94 kB / 0.7038 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.1669, allocations: 449.9 kB / 0.7042 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.1671, allocations: 99.28 kB / 0.7043 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1674, allocations: 175.3 kB / 0.7045 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1676, allocations: 183.1 kB / 0.7047 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.1676, allocations: 35.98 kB / 0.7047 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.1677, allocations: 36 kB / 0.7047 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1678, allocations: 95.67 kB / 0.7048 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.168, allocations: 218.9 kB / 0.705 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.1686, allocations: 0.5486 MB / 0.7056 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1686, allocations: 0 / 0.7056 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1686, allocations: 4 kB / 0.7056 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.1686, allocations: 4 kB / 0.7056 GB, free: 7.172 MB / 0.5137 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.001116/0.1698, allocations: 0.712 MB / 0.7063 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1698, allocations: 13.11 kB / 0.7063 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.1698, allocations: 8.625 kB / 0.7063 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.1699, allocations: 58.73 kB / 0.7064 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.17, allocations: 48.64 kB / 0.7064 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.1705, allocations: 378.4 kB / 0.7068 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1706, allocations: 20.38 kB / 0.7068 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.1706, allocations: 24 kB / 0.7068 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.171, allocations: 203.3 kB / 0.707 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.171, allocations: 0 / 0.707 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1711, allocations: 8 kB / 0.707 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.1711, allocations: 4 kB / 0.707 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.1715, allocations: 165.7 kB / 0.7072 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1727, allocations: 0.8625 MB / 0.708 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.173, allocations: 142.6 kB / 0.7081 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1732, allocations: 102 kB / 0.7082 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.1732, allocations: 4 kB / 0.7082 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1732, allocations: 38.55 kB / 0.7083 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.1732, allocations: 0 / 0.7083 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006071/0.1738, allocations: 254.9 kB / 0.7085 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1739, allocations: 59.41 kB / 0.7086 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.1743, allocations: 413.7 kB / 0.709 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1744, allocations: 29.7 kB / 0.709 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.1745, allocations: 212.3 kB / 0.7092 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.1746, allocations: 67.42 kB / 0.7093 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.1747, allocations: 33.66 kB / 0.7093 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1748, allocations: 346.8 kB / 0.7096 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.175, allocations: 55.97 kB / 0.7097 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1751, allocations: 55.97 kB / 0.7097 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.1754, allocations: 151.6 kB / 0.7099 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1754, allocations: 0 / 0.7099 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003993/0.1758, allocations: 205.3 kB / 0.7101 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1758, allocations: 8 kB / 0.7101 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1758, allocations: 0 / 0.7101 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.1759, allocations: 0 / 0.7101 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.1761, allocations: 63.89 kB / 0.7101 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1761, allocations: 0 / 0.7101 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1763, allocations: 15.89 kB / 0.7102 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1763, allocations: 12 kB / 0.7102 GB, free: 2.211 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 (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.0001706/0.1765, allocations: 162.5 kB / 0.7103 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.1765, allocations: 39.7 kB / 0.7104 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1766, allocations: 43.58 kB / 0.7104 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1766, allocations: 4 kB / 0.7104 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1766, allocations: 0 / 0.7104 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1766, allocations: 0 / 0.7104 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1771, allocations: 385.2 kB / 0.7108 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1771, allocations: 0 / 0.7108 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1773, allocations: 63.89 kB / 0.7108 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1773, allocations: 0 / 0.7108 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1773, allocations: 0 / 0.7108 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1773, allocations: 4 kB / 0.7108 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1773, allocations: 0 / 0.7108 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.178, allocations: 385.1 kB / 0.7112 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1781, allocations: 112.8 kB / 0.7113 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.1781, allocations: 11.98 kB / 0.7113 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1783, allocations: 8 kB / 0.7113 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1783, allocations: 11.92 kB / 0.7114 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1783, allocations: 4 kB / 0.7114 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003518/0.1787, allocations: 307.1 kB / 0.7116 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1787, allocations: 64 / 0.7116 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003094/0.179, allocations: 75.89 kB / 0.7117 GB, free: 0.5352 MB / 0.5137 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.0009705/0.18, allocations: 0.921 MB / 0.7126 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.1803, allocations: 141.3 kB / 0.7128 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1803, allocations: 0 / 0.7128 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1805, allocations: 75.91 kB / 0.7128 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.181, allocations: 99.11 kB / 0.7129 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.1857, allocations: 3.493 MB / 0.7163 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.1861, allocations: 0.8027 MB / 0.7171 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001203/0.1862, allocations: 34.95 kB / 0.7172 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.1864, allocations: 115.4 kB / 0.7173 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1864, allocations: 0 / 0.7173 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2135, allocations: 8.073 MB / 0.7251 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.554, allocations: 10.39 kB / 0.7252 GB, free: 2.953 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 12.240916165988892] Failed to read output from testmodel.py, exit status != 0: 8.949300445965491 8.700567999 8.528127226 Calling exit ...