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.001561/0.001561, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001793/0.001793, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.789 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.8327/0.8327, allocations: 134 MB / 446.4 MB, free: 9.918 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.001935/0.001935, allocations: 64 kB / 0.6186 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.162, allocations: 85.92 MB / 0.7025 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002437/0.1644, allocations: 1.423 MB / 0.7039 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004309/0.1687, allocations: 2.658 MB / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.1688, allocations: 0 / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.1688, allocations: 3.938 kB / 0.7065 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.818e-05/0.1689, allocations: 19.84 kB / 0.7065 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.1726, allocations: 1.64 MB / 0.7081 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.546e-05/0.1727, allocations: 39.73 kB / 0.7081 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1727, allocations: 11.94 kB / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.1727, allocations: 11.94 kB / 0.7081 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.1728, allocations: 15.94 kB / 0.7081 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1728, allocations: 0 / 0.7081 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.1749, allocations: 1.478 MB / 0.7096 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.175, allocations: 7.938 kB / 0.7096 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.175, allocations: 19.92 kB / 0.7096 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1764, allocations: 1.082 MB / 0.7107 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1764, allocations: 0 / 0.7107 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1764, allocations: 4 kB / 0.7107 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1764, allocations: 0 / 0.7107 GB, free: 8.574 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.0005856/0.177, allocations: 472 kB / 0.7111 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.177, allocations: 8.031 kB / 0.7111 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.009e-05/0.177, allocations: 110 kB / 0.7112 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.1771, allocations: 84.22 kB / 0.7113 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1773, allocations: 193.7 kB / 0.7115 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.1773, allocations: 158.4 kB / 0.7117 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.1774, allocations: 154.6 kB / 0.7118 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.1775, allocations: 101 kB / 0.7119 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.1775, allocations: 75.28 kB / 0.712 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.1776, allocations: 154.6 kB / 0.7121 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.1777, allocations: 154.6 kB / 0.7123 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.1777, allocations: 154.6 kB / 0.7124 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1781, allocations: 444.8 kB / 0.7128 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.1782, allocations: 173.1 kB / 0.713 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.1782, allocations: 80.14 kB / 0.7131 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1782, allocations: 75.28 kB / 0.7132 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.1783, allocations: 105.8 kB / 0.7133 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1783, allocations: 0 / 0.7133 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.719e-05/0.1784, allocations: 33.64 kB / 0.7133 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1784, allocations: 130.7 kB / 0.7134 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1786, allocations: 140.3 kB / 0.7135 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1786, allocations: 25.7 kB / 0.7136 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.1787, allocations: 92.12 kB / 0.7137 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1787, allocations: 4 kB / 0.7137 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1787, allocations: 17.72 kB / 0.7137 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1788, allocations: 322.8 kB / 0.714 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1789, allocations: 4 kB / 0.714 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.1789, allocations: 8 kB / 0.714 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.533e-05/0.1789, allocations: 12.86 kB / 0.714 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1789, allocations: 0 / 0.714 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001219/0.179, allocations: 65.55 kB / 0.7141 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1791, allocations: 8 kB / 0.7141 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1791, allocations: 0 / 0.7141 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1791, allocations: 4 kB / 0.7141 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1791, allocations: 0 / 0.7141 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1791, allocations: 0 / 0.7141 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.1791, allocations: 0 / 0.7141 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1791, allocations: 0 / 0.7141 GB, free: 4.879 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.0001134/0.1792, allocations: 189.1 kB / 0.7143 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.1793, allocations: 108.9 kB / 0.7144 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1794, allocations: 116.8 kB / 0.7145 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.466e-05/0.1794, allocations: 184.3 kB / 0.7147 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.322e-05/0.1795, allocations: 180.3 kB / 0.7148 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.556e-05/0.1796, allocations: 180.3 kB / 0.715 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.1799, allocations: 392.2 kB / 0.7154 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-05/0.1799, allocations: 108.9 kB / 0.7155 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.18, allocations: 101 kB / 0.7156 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.3e-05/0.18, allocations: 180.2 kB / 0.7157 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.1801, allocations: 180.3 kB / 0.7159 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.281e-05/0.1802, allocations: 180.2 kB / 0.7161 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.1803, allocations: 180.2 kB / 0.7163 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1805, allocations: 319.7 kB / 0.7166 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1805, allocations: 109 kB / 0.7167 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/0.1806, allocations: 180.2 kB / 0.7168 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.1807, allocations: 108.9 kB / 0.7169 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.1808, allocations: 184.2 kB / 0.7171 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.1808, allocations: 104.9 kB / 0.7172 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.323e-05/0.1809, allocations: 101.1 kB / 0.7173 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1809, allocations: 0 / 0.7173 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006559/0.1816, allocations: 299 kB / 0.7176 GB, free: 1.074 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.001361/0.1829, allocations: 1.193 MB / 0.7188 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.183, allocations: 49.62 kB / 0.7188 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.183, allocations: 0 / 0.7188 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.183, allocations: 0 / 0.7188 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.1835, allocations: 463.8 kB / 0.7193 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.185, allocations: 1.619 MB / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.403e-05/0.185, allocations: 71.2 kB / 0.7209 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.119e-05/0.185, allocations: 0 / 0.7209 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.1851, allocations: 11.44 kB / 0.7209 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.1851, allocations: 0 / 0.7209 GB, free: 13.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.2211, allocations: 7.783 MB / 0.7285 GB, free: 5.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.59, allocations: 3.188 kB / 0.7285 GB, free: 5.949 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.150484113954008] Failed to read output from testmodel.py, exit status != 0: 11.696800983976573 11.713910804 11.534457145 Calling exit ...