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.001256/0.001256, allocations: 109.2 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.001468/0.001468, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.984 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.8026/0.8026, allocations: 134 MB / 446.4 MB, free: 10.71 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.001884/0.001884, allocations: 71.61 kB / 0.6186 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1559, allocations: 85.9 MB / 0.7025 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002482/0.1584, allocations: 1.455 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.1628, allocations: 2.989 MB / 0.7069 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.1628, allocations: 0 / 0.7069 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1628, allocations: 11.86 kB / 0.7069 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.1629, allocations: 7.875 kB / 0.7069 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.1668, allocations: 1.707 MB / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.1669, allocations: 47.67 kB / 0.7086 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1669, allocations: 0 / 0.7086 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1669, allocations: 15.94 kB / 0.7086 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.167, allocations: 15.92 kB / 0.7086 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.167, allocations: 4 kB / 0.7086 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.1695, allocations: 1.755 MB / 0.7103 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.1695, allocations: 15.92 kB / 0.7104 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.1696, allocations: 15.88 kB / 0.7104 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.1711, allocations: 1.134 MB / 0.7115 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1711, allocations: 0 / 0.7115 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1711, allocations: 0 / 0.7115 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1711, allocations: 0 / 0.7115 GB, free: 8.176 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.0006015/0.1717, allocations: 464.1 kB / 0.7119 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1717, allocations: 11.97 kB / 0.7119 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.1718, allocations: 110 kB / 0.712 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.1718, allocations: 84.17 kB / 0.7121 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.172, allocations: 201.7 kB / 0.7123 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.1721, allocations: 158.5 kB / 0.7125 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.1721, allocations: 150.6 kB / 0.7126 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.1722, allocations: 104.9 kB / 0.7127 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1722, allocations: 75.28 kB / 0.7128 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.1723, allocations: 154.6 kB / 0.7129 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-05/0.1724, allocations: 150.6 kB / 0.7131 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.1724, allocations: 158.5 kB / 0.7132 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.1728, allocations: 436.9 kB / 0.7136 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.1729, allocations: 173.1 kB / 0.7138 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.1729, allocations: 80.14 kB / 0.7139 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1729, allocations: 79.27 kB / 0.714 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.173, allocations: 109.8 kB / 0.7141 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.173, allocations: 0 / 0.7141 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.881e-05/0.1731, allocations: 33.66 kB / 0.7141 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.1731, allocations: 134.7 kB / 0.7142 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1733, allocations: 135.9 kB / 0.7143 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1733, allocations: 25.7 kB / 0.7144 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.1733, allocations: 92.09 kB / 0.7145 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1733, allocations: 3.938 kB / 0.7145 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1734, allocations: 25.7 kB / 0.7145 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1735, allocations: 318.8 kB / 0.7148 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.1735, allocations: 4 kB / 0.7148 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.1736, allocations: 8 kB / 0.7148 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.1736, allocations: 20.78 kB / 0.7148 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1736, allocations: 0 / 0.7148 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.1737, allocations: 49.77 kB / 0.7149 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1737, allocations: 4 kB / 0.7149 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.1738, allocations: 4 kB / 0.7149 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1738, allocations: 0 / 0.7149 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1738, allocations: 0 / 0.7149 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1738, allocations: 0 / 0.7149 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.1738, allocations: 7.953 kB / 0.7149 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1738, allocations: 4.062 kB / 0.7149 GB, free: 4.473 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.0001051/0.1739, allocations: 193 kB / 0.7151 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.174, allocations: 112.9 kB / 0.7152 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.1741, allocations: 108.8 kB / 0.7153 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/0.1741, allocations: 180.2 kB / 0.7155 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.337e-05/0.1742, allocations: 180.2 kB / 0.7156 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/0.1743, allocations: 188.2 kB / 0.7158 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.1745, allocations: 388.2 kB / 0.7162 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/0.1746, allocations: 101 kB / 0.7163 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.1746, allocations: 108.9 kB / 0.7164 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.1747, allocations: 184.2 kB / 0.7166 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.1748, allocations: 180.3 kB / 0.7167 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.551e-05/0.1748, allocations: 180.2 kB / 0.7169 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.894e-05/0.1749, allocations: 180.3 kB / 0.7171 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1751, allocations: 311.7 kB / 0.7174 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1751, allocations: 116.9 kB / 0.7175 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.1752, allocations: 180.2 kB / 0.7177 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1753, allocations: 101 kB / 0.7177 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.1754, allocations: 180.2 kB / 0.7179 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.1754, allocations: 109 kB / 0.718 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.1755, allocations: 101.3 kB / 0.7181 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1755, allocations: 0 / 0.7181 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007268/0.1762, allocations: 299 kB / 0.7184 GB, free: 0.6719 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.001406/0.1776, allocations: 1.19 MB / 0.7196 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.804e-05/0.1777, allocations: 41.64 kB / 0.7196 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1777, allocations: 0 / 0.7196 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.1777, allocations: 4 kB / 0.7196 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1781, allocations: 471.3 kB / 0.7201 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1796, allocations: 1.612 MB / 0.7216 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1799, allocations: 0.6883 MB / 0.7223 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.231e-05/0.1799, allocations: 0 / 0.7223 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1799, allocations: 19.44 kB / 0.7223 GB, free: 12.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1799, allocations: 0 / 0.7223 GB, free: 12.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.2145, allocations: 7.311 MB / 0.7295 GB, free: 5.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.07, allocations: 15.05 kB / 0.7295 GB, free: 5.379 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.5853883460004] Failed to read output from testmodel.py, exit status != 0: 11.173737920995336 11.197784884 11.022096487 Calling exit ...