Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001358/0.001358, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.002047/0.002047, allocations: 205 kB / 20.09 MB, free: 2.977 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9458/0.9458, allocations: 150 MB / 459.5 MB, free: 5.332 MB / 350.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001989/0.001989, allocations: 63.06 kB / 0.6362 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1666, allocations: 89.13 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006048/0.1727, allocations: 4.159 MB / 0.7273 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003867/0.1766, allocations: 2.468 MB / 0.7297 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.1769, allocations: 11.94 kB / 0.7297 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.1786, allocations: 0.5705 MB / 0.7303 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1792, allocations: 234.1 kB / 0.7305 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1795, allocations: 143.8 kB / 0.7306 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009744/0.1804, allocations: 0.802 MB / 0.7314 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.1809, allocations: 230.6 kB / 0.7316 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005307/0.1814, allocations: 314.9 kB / 0.7319 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1818, allocations: 326.6 kB / 0.7322 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.1819, allocations: 76 kB / 0.7323 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1821, allocations: 72 kB / 0.7324 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1822, allocations: 171.4 kB / 0.7325 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.1826, allocations: 382.3 kB / 0.7329 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1837, allocations: 1 MB / 0.7339 GB, free: 9.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1837, allocations: 4 kB / 0.7339 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1837, allocations: 3.938 kB / 0.7339 GB, free: 9.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.1837, allocations: 0 / 0.7339 GB, free: 9.07 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001566/0.1853, allocations: 0.9613 MB / 0.7348 GB, free: 8.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1853, allocations: 12.03 kB / 0.7348 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.1854, allocations: 82.7 kB / 0.7349 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1855, allocations: 80.47 kB / 0.735 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.1862, allocations: 466 kB / 0.7354 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1862, allocations: 45.11 kB / 0.7355 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.1863, allocations: 44 kB / 0.7355 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.1871, allocations: 430.4 kB / 0.7359 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.1871, allocations: 0 / 0.7359 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.1872, allocations: 20 kB / 0.7359 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1872, allocations: 12 kB / 0.736 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000742/0.1879, allocations: 375.7 kB / 0.7363 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1902, allocations: 1.52 MB / 0.7378 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.1907, allocations: 304.2 kB / 0.7381 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/0.1912, allocations: 294.4 kB / 0.7384 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1912, allocations: 4.688 kB / 0.7384 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1913, allocations: 34.56 kB / 0.7384 GB, free: 4.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.1913, allocations: 0 / 0.7384 GB, free: 4.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001021/0.1923, allocations: 0.4966 MB / 0.7389 GB, free: 3.727 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1923, allocations: 67.19 kB / 0.739 GB, free: 3.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.1929, allocations: 477.9 kB / 0.7394 GB, free: 3.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.1929, allocations: 37.7 kB / 0.7395 GB, free: 3.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.1932, allocations: 272.7 kB / 0.7397 GB, free: 2.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.1933, allocations: 158.6 kB / 0.7399 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1934, allocations: 58.08 kB / 0.7399 GB, free: 2.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1936, allocations: 362.8 kB / 0.7403 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1938, allocations: 128.7 kB / 0.7404 GB, free: 2.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.1941, allocations: 125.2 kB / 0.7405 GB, free: 2.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.1946, allocations: 302 kB / 0.7408 GB, free: 1.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1946, allocations: 0 / 0.7408 GB, free: 1.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006978/0.1953, allocations: 392.8 kB / 0.7412 GB, free: 1.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1953, allocations: 4 kB / 0.7412 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1953, allocations: 4 kB / 0.7412 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1954, allocations: 4 kB / 0.7412 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.1959, allocations: 123.9 kB / 0.7413 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1959, allocations: 0 / 0.7413 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1962, allocations: 47.66 kB / 0.7413 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1962, allocations: 12 kB / 0.7414 GB, free: 1.145 MB / 0.545 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 (46): * Single equations (assignments): 46 * 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.000248/0.1964, allocations: 193.7 kB / 0.7415 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.1965, allocations: 59.61 kB / 0.7416 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1967, allocations: 65.09 kB / 0.7417 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1967, allocations: 4 kB / 0.7417 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1967, allocations: 0 / 0.7417 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1967, allocations: 3.984 kB / 0.7417 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.1974, allocations: 0.5751 MB / 0.7422 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1974, allocations: 0 / 0.7422 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.198, allocations: 123.9 kB / 0.7423 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.198, allocations: 3.984 kB / 0.7424 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.198, allocations: 12 kB / 0.7424 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.198, allocations: 0 / 0.7424 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.198, allocations: 4 kB / 0.7424 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1991, allocations: 0.6406 MB / 0.743 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1992, allocations: 148.6 kB / 0.7431 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.1993, allocations: 12 kB / 0.7431 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.1995, allocations: 12 kB / 0.7432 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.1996, allocations: 23.95 kB / 0.7432 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.1996, allocations: 11.94 kB / 0.7432 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004307/0.2, allocations: 351.1 kB / 0.7435 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2, allocations: 0 / 0.7435 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004194/0.2004, allocations: 139.8 kB / 0.7437 GB, free: 14.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001388/0.2018, allocations: 1.223 MB / 0.7449 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.2024, allocations: 299.6 kB / 0.7451 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2024, allocations: 0 / 0.7451 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.2027, allocations: 175.9 kB / 0.7453 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.2034, allocations: 136.2 kB / 0.7454 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.2103, allocations: 4.855 MB / 0.7502 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.2108, allocations: 0.8743 MB / 0.751 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.2111, allocations: 52.36 kB / 0.7511 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.2114, allocations: 187.4 kB / 0.7513 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.2114, allocations: 0 / 0.7513 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.2551, allocations: 11.5 MB / 0.7625 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.002, allocations: 3.75 kB / 0.7625 GB, free: 11.58 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.853875225875527] Failed to read output from testmodel.py, exit status != 0: 9.08019137615338 9.104288915 8.915972751 Calling exit ...