Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001476/0.001476, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.37/1.37, 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.796/0.796, allocations: 134 MB / 446.4 MB, free: 10.27 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001913/0.001913, allocations: 70.36 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1615, 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.InternalResistancesOneUTube): time 0.002557/0.1641, allocations: 1.452 MB / 0.7039 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004493/0.1686, allocations: 2.923 MB / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.1686, allocations: 0 / 0.7068 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.1686, allocations: 11.86 kB / 0.7068 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.1687, allocations: 15.86 kB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.1726, allocations: 1.681 MB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.1727, allocations: 39.73 kB / 0.7085 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.1727, allocations: 7.938 kB / 0.7085 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1728, allocations: 12 kB / 0.7085 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.1728, allocations: 19.86 kB / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1728, allocations: 0 / 0.7085 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.1752, allocations: 1.72 MB / 0.7102 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1753, allocations: 0 / 0.7102 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.1753, allocations: 19.88 kB / 0.7102 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1768, allocations: 1.107 MB / 0.7113 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1768, allocations: 0 / 0.7113 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1768, allocations: 4 kB / 0.7113 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1768, allocations: 0 / 0.7113 GB, free: 8.332 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.0006073/0.1774, allocations: 472.1 kB / 0.7118 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1774, allocations: 8.031 kB / 0.7118 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.1775, allocations: 106 kB / 0.7119 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.1775, allocations: 88.11 kB / 0.712 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1777, allocations: 189.7 kB / 0.7121 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.1778, allocations: 162.5 kB / 0.7123 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.1778, allocations: 150.6 kB / 0.7124 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/0.1779, allocations: 109 kB / 0.7125 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.1779, allocations: 79.28 kB / 0.7126 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.178, allocations: 150.6 kB / 0.7128 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.1781, allocations: 150.6 kB / 0.7129 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.1781, allocations: 158.5 kB / 0.7131 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1784, allocations: 436.9 kB / 0.7135 GB, free: 6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.1785, allocations: 165.1 kB / 0.7136 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.1786, allocations: 80.14 kB / 0.7137 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1786, allocations: 83.28 kB / 0.7138 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.1787, allocations: 105.8 kB / 0.7139 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1787, allocations: 0 / 0.7139 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.193e-05/0.1787, allocations: 41.59 kB / 0.7139 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.1788, allocations: 126.7 kB / 0.714 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1789, allocations: 128.3 kB / 0.7142 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.179, allocations: 25.7 kB / 0.7142 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.179, allocations: 96.12 kB / 0.7143 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.179, allocations: 4 kB / 0.7143 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1791, allocations: 13.72 kB / 0.7143 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1792, allocations: 322.8 kB / 0.7146 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.1792, allocations: 4 kB / 0.7146 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.1792, allocations: 7.938 kB / 0.7146 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.1793, allocations: 24.73 kB / 0.7146 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1793, allocations: 0 / 0.7146 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.1794, allocations: 57.7 kB / 0.7147 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1794, allocations: 8 kB / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.1794, allocations: 0 / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1794, allocations: 0 / 0.7147 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.066e-06/0.1794, allocations: 4 kB / 0.7147 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1794, allocations: 0 / 0.7147 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.1795, allocations: 0 / 0.7147 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1795, allocations: 0 / 0.7147 GB, free: 4.645 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.0001098/0.1796, allocations: 189.1 kB / 0.7149 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.1796, allocations: 112.9 kB / 0.715 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.1797, allocations: 112.8 kB / 0.7151 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/0.1798, allocations: 180.3 kB / 0.7153 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.508e-05/0.1799, allocations: 180.2 kB / 0.7155 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.325e-05/0.1799, allocations: 180.3 kB / 0.7156 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1802, allocations: 392.2 kB / 0.716 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/0.1802, allocations: 109 kB / 0.7161 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.1803, allocations: 101 kB / 0.7162 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-05/0.1803, allocations: 180.2 kB / 0.7164 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.1804, allocations: 176.3 kB / 0.7165 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.842e-05/0.1805, allocations: 188.2 kB / 0.7167 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.1806, allocations: 180.3 kB / 0.7169 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1807, allocations: 311.7 kB / 0.7172 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1808, allocations: 105 kB / 0.7173 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.1809, allocations: 192.2 kB / 0.7175 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.1809, allocations: 105 kB / 0.7176 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.181, allocations: 184.3 kB / 0.7177 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.1811, allocations: 104.9 kB / 0.7178 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.1811, allocations: 97.77 kB / 0.7179 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1811, allocations: 0 / 0.7179 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000727/0.1819, allocations: 294.9 kB / 0.7182 GB, free: 0.8516 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.001349/0.1832, allocations: 1.171 MB / 0.7194 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1833, allocations: 37.64 kB / 0.7194 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1833, allocations: 0 / 0.7194 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1833, allocations: 4 kB / 0.7194 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1837, allocations: 471.8 kB / 0.7199 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1852, allocations: 1.599 MB / 0.7214 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1855, allocations: 0.6807 MB / 0.7221 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.1855, allocations: 4.031 kB / 0.7221 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1855, allocations: 15.42 kB / 0.7221 GB, free: 12.74 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.1855, allocations: 0 / 0.7221 GB, free: 12.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.2202, allocations: 7.112 MB / 0.729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.04, allocations: 6.938 kB / 0.7291 GB, free: 5.805 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.512388128998282] Failed to read output from testmodel.py, exit status != 0: 11.145479390004766 11.168627908 10.987633741 Calling exit ...