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.001552/0.001552, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001408/0.001408, allocations: 213.5 kB / 22.25 MB, free: 5.121 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 8 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.8235/0.8235, allocations: 134 MB / 446.4 MB, free: 10.22 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.001872/0.001872, allocations: 70.33 kB / 0.6186 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1595, allocations: 85.91 MB / 0.7025 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002482/0.1619, allocations: 1.451 MB / 0.7039 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.1663, allocations: 2.931 MB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.868e-05/0.1663, allocations: 0 / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.1663, allocations: 7.938 kB / 0.7068 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.1664, allocations: 19.78 kB / 0.7068 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.1702, allocations: 1.683 MB / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.1703, allocations: 43.67 kB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1703, allocations: 4 kB / 0.7085 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.1703, allocations: 15.92 kB / 0.7085 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.1704, allocations: 15.94 kB / 0.7085 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1704, allocations: 0 / 0.7085 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1727, allocations: 1.712 MB / 0.7102 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1727, allocations: 15.92 kB / 0.7102 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1727, allocations: 15.88 kB / 0.7102 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1741, allocations: 1.103 MB / 0.7113 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1741, allocations: 0 / 0.7113 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1741, allocations: 0 / 0.7113 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1741, allocations: 0 / 0.7113 GB, free: 8.305 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.0005662/0.1747, allocations: 464.1 kB / 0.7118 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1747, allocations: 12.03 kB / 0.7118 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.1748, allocations: 106 kB / 0.7119 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.1749, allocations: 92.09 kB / 0.712 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.175, allocations: 197.7 kB / 0.7122 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.1751, allocations: 154.5 kB / 0.7123 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1751, allocations: 150.6 kB / 0.7124 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.995e-05/0.1752, allocations: 101 kB / 0.7125 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.1752, allocations: 75.28 kB / 0.7126 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.1753, allocations: 154.6 kB / 0.7128 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.1754, allocations: 150.6 kB / 0.7129 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.1754, allocations: 158.5 kB / 0.7131 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.1757, allocations: 436.9 kB / 0.7135 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.1758, allocations: 173.1 kB / 0.7136 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.1759, allocations: 80.14 kB / 0.7137 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1759, allocations: 75.28 kB / 0.7138 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.176, allocations: 105.8 kB / 0.7139 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.176, allocations: 3.938 kB / 0.7139 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.868e-05/0.176, allocations: 41.58 kB / 0.7139 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.1761, allocations: 130.7 kB / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1762, allocations: 132 kB / 0.7142 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1762, allocations: 29.64 kB / 0.7142 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1763, allocations: 88.14 kB / 0.7143 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.1763, allocations: 0 / 0.7143 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1763, allocations: 21.7 kB / 0.7143 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1765, allocations: 318.8 kB / 0.7146 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.1765, allocations: 8 kB / 0.7146 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.1765, allocations: 4 kB / 0.7146 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.1766, allocations: 24.81 kB / 0.7146 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1766, allocations: 4 kB / 0.7147 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001218/0.1767, allocations: 49.66 kB / 0.7147 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1767, allocations: 4 kB / 0.7147 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.1767, allocations: 4 kB / 0.7147 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1767, allocations: 0 / 0.7147 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1767, allocations: 0 / 0.7147 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1767, allocations: 0 / 0.7147 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1767, allocations: 8.047 kB / 0.7147 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1768, allocations: 4 kB / 0.7147 GB, free: 4.613 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.0001005/0.1769, allocations: 189.1 kB / 0.7149 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-05/0.1769, allocations: 112.9 kB / 0.715 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.177, allocations: 104.8 kB / 0.7151 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/0.1771, allocations: 184.2 kB / 0.7153 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.557e-05/0.1771, allocations: 184.2 kB / 0.7155 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-05/0.1772, allocations: 176.3 kB / 0.7156 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.1774, allocations: 392.2 kB / 0.716 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.234e-05/0.1775, allocations: 101 kB / 0.7161 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1775, allocations: 101 kB / 0.7162 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.1776, allocations: 188.2 kB / 0.7164 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.1777, allocations: 184.3 kB / 0.7165 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/0.1778, allocations: 180.2 kB / 0.7167 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-05/0.1778, allocations: 176.3 kB / 0.7169 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.178, allocations: 319.6 kB / 0.7172 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.178, allocations: 105 kB / 0.7173 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.1781, allocations: 188.2 kB / 0.7175 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.1782, allocations: 101 kB / 0.7176 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.1783, allocations: 180.2 kB / 0.7177 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.1783, allocations: 104.9 kB / 0.7178 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.1784, allocations: 103.2 kB / 0.7179 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 4 kB / 0.7179 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006806/0.1791, allocations: 294.9 kB / 0.7182 GB, free: 0.8203 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.001281/0.1803, allocations: 1.167 MB / 0.7194 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.1804, allocations: 41.62 kB / 0.7194 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1804, allocations: 3.938 kB / 0.7194 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1804, allocations: 0 / 0.7194 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1808, allocations: 466.4 kB / 0.7199 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.1822, allocations: 1.597 MB / 0.7214 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1825, allocations: 0.6846 MB / 0.7221 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.1825, allocations: 4 kB / 0.7221 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1826, allocations: 15.44 kB / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1826, allocations: 3.938 kB / 0.7221 GB, free: 12.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.2161, allocations: 7.122 MB / 0.7291 GB, free: 5.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.96, allocations: 4.812 kB / 0.7291 GB, free: 5.77 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.428525359995547] Failed to read output from testmodel.py, exit status != 0: 11.059569545999693 11.084437211 10.905655311 Calling exit ...