Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001304/0.001304, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001599/0.001599, allocations: 220 kB / 22.24 MB, free: 5.109 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.812 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.8283/0.8283, allocations: 134 MB / 446.4 MB, free: 9.984 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001958/0.001958, allocations: 72.05 kB / 0.6186 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1578, allocations: 85.91 MB / 0.7025 GB, free: 1.082 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002526/0.1603, allocations: 1.418 MB / 0.7038 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1647, allocations: 2.616 MB / 0.7064 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1647, allocations: 3.938 kB / 0.7064 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.1647, allocations: 3.938 kB / 0.7064 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.1648, allocations: 19.84 kB / 0.7064 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.1687, allocations: 1.606 MB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.1688, allocations: 39.73 kB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1688, allocations: 4 kB / 0.708 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.1688, allocations: 19.92 kB / 0.7081 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.672e-05/0.1689, allocations: 11.94 kB / 0.7081 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.1689, allocations: 0 / 0.7081 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.1711, allocations: 1.45 MB / 0.7095 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1712, allocations: 7.938 kB / 0.7095 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.1712, allocations: 15.92 kB / 0.7095 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1726, allocations: 1.064 MB / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1726, allocations: 0 / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1726, allocations: 0 / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.1726, allocations: 4 kB / 0.7105 GB, free: 8.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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006053/0.1732, allocations: 464.1 kB / 0.711 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1733, allocations: 8.031 kB / 0.711 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.1733, allocations: 110 kB / 0.7111 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.1734, allocations: 84.17 kB / 0.7112 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1736, allocations: 193.7 kB / 0.7114 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.1737, allocations: 158.5 kB / 0.7115 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.1737, allocations: 154.6 kB / 0.7117 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.865e-05/0.1738, allocations: 101 kB / 0.7118 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.1738, allocations: 75.28 kB / 0.7118 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.036e-05/0.1739, allocations: 154.6 kB / 0.712 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/0.174, allocations: 158.5 kB / 0.7121 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.1741, allocations: 150.6 kB / 0.7123 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1744, allocations: 436.9 kB / 0.7127 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1745, allocations: 169.1 kB / 0.7129 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.1745, allocations: 80.14 kB / 0.7129 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.1746, allocations: 75.28 kB / 0.713 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.1746, allocations: 113.8 kB / 0.7131 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1746, allocations: 0 / 0.7131 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.337e-05/0.1747, allocations: 33.66 kB / 0.7131 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.1748, allocations: 126.7 kB / 0.7133 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1749, allocations: 131.9 kB / 0.7134 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1749, allocations: 29.7 kB / 0.7134 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.175, allocations: 92.12 kB / 0.7135 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.175, allocations: 0 / 0.7135 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1751, allocations: 17.66 kB / 0.7135 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1752, allocations: 326.8 kB / 0.7138 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.1752, allocations: 7.984 kB / 0.7138 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.817e-05/0.1752, allocations: 8 kB / 0.7138 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.1753, allocations: 20.83 kB / 0.7139 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1753, allocations: 0 / 0.7139 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.1754, allocations: 53.67 kB / 0.7139 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1754, allocations: 8 kB / 0.7139 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.1754, allocations: 0 / 0.7139 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1755, allocations: 0 / 0.7139 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1755, allocations: 0 / 0.7139 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1755, allocations: 7.984 kB / 0.7139 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1755, allocations: 3.953 kB / 0.7139 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1755, allocations: 0 / 0.7139 GB, free: 5.109 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.0001097/0.1756, allocations: 189.1 kB / 0.7141 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.1757, allocations: 104.9 kB / 0.7142 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.116e-05/0.1758, allocations: 120.8 kB / 0.7143 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/0.1758, allocations: 180.2 kB / 0.7145 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.762e-05/0.1759, allocations: 180.3 kB / 0.7147 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.181e-05/0.176, allocations: 176.3 kB / 0.7148 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.1763, allocations: 396.2 kB / 0.7152 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/0.1763, allocations: 101 kB / 0.7153 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1764, allocations: 104.9 kB / 0.7154 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.142e-05/0.1765, allocations: 180.3 kB / 0.7156 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/0.1765, allocations: 176.3 kB / 0.7158 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.046e-05/0.1766, allocations: 192.2 kB / 0.7159 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.481e-05/0.1767, allocations: 176.3 kB / 0.7161 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1769, allocations: 315.7 kB / 0.7164 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1769, allocations: 112.9 kB / 0.7165 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.177, allocations: 192.2 kB / 0.7167 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.1771, allocations: 101 kB / 0.7168 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.1772, allocations: 180.2 kB / 0.717 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.1773, allocations: 105 kB / 0.7171 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.1773, allocations: 97.92 kB / 0.7172 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.908e-06/0.1774, allocations: 0 / 0.7172 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007755/0.1781, allocations: 298.9 kB / 0.7174 GB, free: 1.312 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.00141/0.1795, allocations: 1.171 MB / 0.7186 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.1797, allocations: 37.7 kB / 0.7186 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1797, allocations: 0 / 0.7186 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.1797, allocations: 0 / 0.7186 GB, free: 72 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.1801, allocations: 471.6 kB / 0.7191 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1817, allocations: 1.6 MB / 0.7206 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.1817, allocations: 63.34 kB / 0.7207 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.1818, allocations: 0 / 0.7207 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.1818, allocations: 19.42 kB / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1818, allocations: 0 / 0.7207 GB, free: 13.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.2189, allocations: 7.584 MB / 0.7281 GB, free: 6.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.58, allocations: 4 kB / 0.7281 GB, free: 6.43 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.08226221613586] Failed to read output from testmodel.py, exit status != 0: 11.690801820717752 11.714797437 11.53754189 Calling exit ...