Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001425/0.001425, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001574/0.001574, allocations: 215.1 kB / 22.99 MB, free: 4.973 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9517/0.9517, allocations: 149.9 MB / 463.1 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002197/0.002197, allocations: 62.81 kB / 0.6411 GB, free: 10.01 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 89.18 MB / 0.7282 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004822/0.1662, allocations: 2.826 MB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.1695, allocations: 1.95 MB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.1698, allocations: 7.938 kB / 0.7329 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1716, allocations: 481.8 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.172, allocations: 138.9 kB / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1722, allocations: 63.88 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000595/0.1728, allocations: 449 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.173, allocations: 95.75 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.1733, allocations: 163.4 kB / 0.7342 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.1736, allocations: 163.1 kB / 0.7344 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.1737, allocations: 32 kB / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.1738, allocations: 39.94 kB / 0.7344 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1739, allocations: 95.67 kB / 0.7345 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.1741, allocations: 175.1 kB / 0.7347 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.1747, allocations: 0.5563 MB / 0.7352 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1747, allocations: 4 kB / 0.7352 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1747, allocations: 0 / 0.7352 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.1747, allocations: 0 / 0.7352 GB, free: 9.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001195/0.1759, allocations: 0.629 MB / 0.7359 GB, free: 9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.176, allocations: 12.03 kB / 0.7359 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.067e-05/0.1761, allocations: 62.72 kB / 0.7359 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.1762, allocations: 52.61 kB / 0.736 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.1768, allocations: 312.5 kB / 0.7363 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1768, allocations: 20.56 kB / 0.7363 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.1769, allocations: 24 kB / 0.7363 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.1773, allocations: 199.3 kB / 0.7365 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1773, allocations: 0 / 0.7365 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.1774, allocations: 8 kB / 0.7365 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1774, allocations: 8 kB / 0.7365 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1778, allocations: 165.7 kB / 0.7367 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.179, allocations: 0.6862 MB / 0.7374 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1793, allocations: 142.6 kB / 0.7375 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.1795, allocations: 106.8 kB / 0.7376 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.1795, allocations: 3.938 kB / 0.7376 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.1796, allocations: 38.5 kB / 0.7376 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.1796, allocations: 0 / 0.7376 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0006257/0.1802, allocations: 256.2 kB / 0.7379 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1802, allocations: 51.41 kB / 0.7379 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.1808, allocations: 413.7 kB / 0.7383 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1808, allocations: 33.69 kB / 0.7384 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.181, allocations: 204.5 kB / 0.7386 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.181, allocations: 67.38 kB / 0.7386 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.1811, allocations: 37.7 kB / 0.7387 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1813, allocations: 346.8 kB / 0.739 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1814, allocations: 51.97 kB / 0.739 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1816, allocations: 66.14 kB / 0.7391 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1819, allocations: 134.7 kB / 0.7392 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1819, allocations: 4 kB / 0.7392 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004164/0.1823, allocations: 209.3 kB / 0.7394 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1823, allocations: 4 kB / 0.7394 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1823, allocations: 0 / 0.7394 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1823, allocations: 4 kB / 0.7394 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.1826, allocations: 55.91 kB / 0.7395 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1826, allocations: 7.922 kB / 0.7395 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1827, allocations: 15.89 kB / 0.7395 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1828, allocations: 12 kB / 0.7395 GB, free: 5.09 MB / 0.5606 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.000168/0.1829, allocations: 157.8 kB / 0.7397 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-05/0.183, allocations: 43.7 kB / 0.7397 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.1831, allocations: 39.53 kB / 0.7398 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1831, allocations: 4 kB / 0.7398 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1831, allocations: 0 / 0.7398 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1831, allocations: 3.984 kB / 0.7398 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1835, allocations: 308.4 kB / 0.7401 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.1835, allocations: 3.938 kB / 0.7401 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1838, allocations: 55.95 kB / 0.7401 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.1838, allocations: 4 kB / 0.7401 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1838, allocations: 4 kB / 0.7401 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1838, allocations: 0 / 0.7401 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1838, allocations: 0 / 0.7401 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.1845, allocations: 379.1 kB / 0.7405 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1846, allocations: 47.66 kB / 0.7405 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.1847, allocations: 8 kB / 0.7405 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1848, allocations: 8.062 kB / 0.7405 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1849, allocations: 15.97 kB / 0.7406 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1849, allocations: 8 kB / 0.7406 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003933/0.1853, allocations: 299.2 kB / 0.7408 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1853, allocations: 0 / 0.7408 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000409/0.1857, allocations: 75.83 kB / 0.7409 GB, free: 3.586 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001029/0.1867, allocations: 0.9249 MB / 0.7418 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1871, allocations: 137.1 kB / 0.742 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1871, allocations: 0 / 0.742 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1873, allocations: 71.91 kB / 0.742 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.1879, allocations: 96.17 kB / 0.7421 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.1931, allocations: 3.494 MB / 0.7455 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1933, allocations: 190.5 kB / 0.7457 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.1935, allocations: 42.94 kB / 0.7457 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1936, allocations: 111.4 kB / 0.7459 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.1936, allocations: 0 / 0.7459 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.2348, allocations: 8.947 MB / 0.7546 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.71, allocations: 6.031 kB / 0.7546 GB, free: 5.75 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.708236751146615] Failed to read output from testmodel.py, exit status != 0: 11.823498882818967 12.145817201 11.968195298 Calling exit ...