Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001568/0.001568, allocations: 106.1 kB / 16.45 MB, free: 6.508 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.001806/0.001806, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.8243/0.8243, allocations: 133.9 MB / 442.8 MB, free: 11.35 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001849/0.001849, allocations: 66.25 kB / 0.6135 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1562, allocations: 85.86 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002475/0.1586, allocations: 1.457 MB / 0.6988 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.1631, allocations: 2.958 MB / 0.7017 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.1632, allocations: 0 / 0.7017 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.1632, allocations: 7.922 kB / 0.7017 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.1633, allocations: 15.8 kB / 0.7017 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.1673, allocations: 1.639 MB / 0.7033 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1674, allocations: 47.67 kB / 0.7033 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1674, allocations: 3.984 kB / 0.7033 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.1675, allocations: 11.94 kB / 0.7033 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.1675, allocations: 19.92 kB / 0.7034 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1675, allocations: 4 kB / 0.7034 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.1699, allocations: 1.595 MB / 0.7049 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.1699, allocations: 3.938 kB / 0.7049 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.17, allocations: 19.88 kB / 0.7049 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.1716, allocations: 1.118 MB / 0.706 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1716, allocations: 0 / 0.706 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1716, allocations: 0 / 0.706 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1716, allocations: 0 / 0.706 GB, free: 10.02 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.0007047/0.1723, allocations: 0.5324 MB / 0.7066 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1723, allocations: 12.03 kB / 0.7066 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.1724, allocations: 106 kB / 0.7067 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.1725, allocations: 84.17 kB / 0.7067 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1727, allocations: 255.5 kB / 0.707 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.1727, allocations: 158.4 kB / 0.7071 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.1728, allocations: 154.5 kB / 0.7073 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.1729, allocations: 113 kB / 0.7074 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.1729, allocations: 75.28 kB / 0.7075 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.173, allocations: 154.5 kB / 0.7076 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/0.173, allocations: 150.6 kB / 0.7078 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/0.1731, allocations: 150.6 kB / 0.7079 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.1734, allocations: 469.9 kB / 0.7084 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.1735, allocations: 169.1 kB / 0.7085 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.1735, allocations: 80.14 kB / 0.7086 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1736, allocations: 83.22 kB / 0.7087 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.1736, allocations: 109.8 kB / 0.7088 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1736, allocations: 0 / 0.7088 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.161e-05/0.1737, allocations: 33.66 kB / 0.7088 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.1738, allocations: 126.7 kB / 0.7089 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1739, allocations: 136 kB / 0.7091 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1739, allocations: 25.7 kB / 0.7091 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.174, allocations: 96.03 kB / 0.7092 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.174, allocations: 0 / 0.7092 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.174, allocations: 17.72 kB / 0.7092 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1742, allocations: 330.8 kB / 0.7095 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.1742, allocations: 0 / 0.7095 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.1742, allocations: 7.938 kB / 0.7095 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.1742, allocations: 20.92 kB / 0.7095 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1743, allocations: 0 / 0.7095 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001479/0.1744, allocations: 45.69 kB / 0.7096 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1744, allocations: 8 kB / 0.7096 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.1744, allocations: 4 kB / 0.7096 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1744, allocations: 64 / 0.7096 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1744, allocations: 4 kB / 0.7096 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1745, allocations: 0 / 0.7096 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.1745, allocations: 3.953 kB / 0.7096 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1745, allocations: 0 / 0.7096 GB, free: 6.125 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.00011/0.1746, allocations: 193.1 kB / 0.7098 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1747, allocations: 116.9 kB / 0.7099 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.1747, allocations: 104.9 kB / 0.71 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-05/0.1748, allocations: 188.1 kB / 0.7102 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.509e-05/0.1749, allocations: 180.3 kB / 0.7103 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/0.1749, allocations: 184.2 kB / 0.7105 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1752, allocations: 417.1 kB / 0.7109 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.1752, allocations: 101 kB / 0.711 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.1753, allocations: 108.9 kB / 0.7111 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-05/0.1754, allocations: 176.3 kB / 0.7113 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.1754, allocations: 192.3 kB / 0.7115 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.878e-05/0.1755, allocations: 180.2 kB / 0.7116 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.38e-05/0.1756, allocations: 176.3 kB / 0.7118 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.1757, allocations: 315.7 kB / 0.7121 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1758, allocations: 194 kB / 0.7123 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.369e-05/0.1759, allocations: 176.3 kB / 0.7125 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.176, allocations: 101 kB / 0.7126 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.1761, allocations: 184.2 kB / 0.7127 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.1761, allocations: 109 kB / 0.7128 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.1762, allocations: 101 kB / 0.7129 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1762, allocations: 0 / 0.7129 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008034/0.177, allocations: 295 kB / 0.7132 GB, free: 2.188 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.001503/0.1785, allocations: 1.202 MB / 0.7144 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.1786, allocations: 33.7 kB / 0.7144 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1786, allocations: 0 / 0.7144 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.1786, allocations: 0 / 0.7144 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.179, allocations: 475.7 kB / 0.7149 GB, free: 464 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1806, allocations: 1.617 MB / 0.7165 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1809, allocations: 0.6844 MB / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.1809, allocations: 0 / 0.7171 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.1809, allocations: 23.45 kB / 0.7171 GB, free: 14.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1809, allocations: 0 / 0.7171 GB, free: 14.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.2126, allocations: 7.27 MB / 0.7242 GB, free: 6.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.309, allocations: 4.391 kB / 0.7242 GB, free: 6.973 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.813928507996025] Failed to read output from testmodel.py, exit status != 0: 8.376813871000195 8.392214054 8.217739608 Calling exit ...