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.001283/0.001283, 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.001565/0.001565, 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.462/1.462, 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.968/0.968, allocations: 150 MB / 459.5 MB, free: 5.656 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.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.002122/0.002122, allocations: 66.66 kB / 0.6362 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1622, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004733/0.167, allocations: 3.038 MB / 0.7262 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1704, allocations: 2.195 MB / 0.7283 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.1707, allocations: 8 kB / 0.7283 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.1728, allocations: 0.521 MB / 0.7288 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.1733, allocations: 134.9 kB / 0.729 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1735, allocations: 63.88 kB / 0.729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000787/0.1743, allocations: 453.1 kB / 0.7295 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.1746, allocations: 107.3 kB / 0.7296 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.1751, allocations: 167.3 kB / 0.7297 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.1754, allocations: 183.1 kB / 0.7299 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1754, allocations: 36 kB / 0.7299 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.1755, allocations: 32 kB / 0.73 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1757, allocations: 95.67 kB / 0.7301 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.1759, allocations: 218.9 kB / 0.7303 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.1767, allocations: 0.5408 MB / 0.7308 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1767, allocations: 4 kB / 0.7308 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1767, allocations: 0 / 0.7308 GB, free: 12.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.1767, allocations: 7.984 kB / 0.7308 GB, free: 12.22 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001298/0.178, allocations: 0.7004 MB / 0.7315 GB, free: 11.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.178, allocations: 12.03 kB / 0.7315 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.025e-05/0.1781, allocations: 58.73 kB / 0.7316 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.949e-05/0.1782, allocations: 52.61 kB / 0.7316 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.179, allocations: 378.4 kB / 0.732 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.179, allocations: 24.56 kB / 0.732 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.1791, allocations: 20 kB / 0.732 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1796, allocations: 195.3 kB / 0.7322 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1796, allocations: 0 / 0.7322 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.1796, allocations: 8 kB / 0.7322 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1796, allocations: 12 kB / 0.7322 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.18, allocations: 161.6 kB / 0.7324 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.1813, allocations: 0.8664 MB / 0.7332 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1816, allocations: 146.5 kB / 0.7334 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1818, allocations: 98.64 kB / 0.7335 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1819, allocations: 7.938 kB / 0.7335 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1819, allocations: 34.56 kB / 0.7335 GB, free: 9.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1819, allocations: 0 / 0.7335 GB, free: 9.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006311/0.1825, allocations: 258.5 kB / 0.7337 GB, free: 9.016 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1826, allocations: 59.31 kB / 0.7338 GB, free: 8.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.1831, allocations: 413.7 kB / 0.7342 GB, free: 8.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1831, allocations: 29.7 kB / 0.7342 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1833, allocations: 204.4 kB / 0.7344 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.1833, allocations: 67.42 kB / 0.7345 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.1834, allocations: 33.72 kB / 0.7345 GB, free: 8.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1836, allocations: 346.8 kB / 0.7348 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1837, allocations: 59.95 kB / 0.7349 GB, free: 7.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1839, allocations: 55.97 kB / 0.7349 GB, free: 7.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1842, allocations: 134.6 kB / 0.7351 GB, free: 7.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1842, allocations: 3.984 kB / 0.7351 GB, free: 7.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000422/0.1846, allocations: 219 kB / 0.7353 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1846, allocations: 11.98 kB / 0.7353 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1846, allocations: 0 / 0.7353 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1846, allocations: 3.984 kB / 0.7353 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.1849, allocations: 51.91 kB / 0.7354 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1849, allocations: 4 kB / 0.7354 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1851, allocations: 19.88 kB / 0.7354 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1851, allocations: 4 kB / 0.7354 GB, free: 7.281 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 (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.0001644/0.1852, allocations: 161.8 kB / 0.7355 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.1853, allocations: 43.7 kB / 0.7356 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.1854, allocations: 43.58 kB / 0.7356 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1854, allocations: 4 kB / 0.7356 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1854, allocations: 0 / 0.7356 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1854, allocations: 0 / 0.7356 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.1858, allocations: 373.3 kB / 0.736 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1858, allocations: 3.938 kB / 0.736 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1861, allocations: 63.89 kB / 0.736 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1861, allocations: 7.938 kB / 0.7361 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1861, allocations: 0 / 0.7361 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1861, allocations: 0 / 0.7361 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1861, allocations: 0 / 0.7361 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.1868, allocations: 377 kB / 0.7364 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1869, allocations: 128.9 kB / 0.7365 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.187, allocations: 0 / 0.7365 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1871, allocations: 8 kB / 0.7365 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.1872, allocations: 15.92 kB / 0.7366 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1872, allocations: 4 kB / 0.7366 GB, free: 5.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003447/0.1875, allocations: 303.1 kB / 0.7368 GB, free: 5.684 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 0 / 0.7368 GB, free: 5.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003206/0.1878, allocations: 71.89 kB / 0.7369 GB, free: 5.613 MB / 0.545 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.0009765/0.1888, allocations: 0.9238 MB / 0.7378 GB, free: 4.664 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.1892, allocations: 135.9 kB / 0.7379 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1892, allocations: 4.062 kB / 0.738 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1894, allocations: 73.94 kB / 0.738 GB, free: 4.457 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.1899, allocations: 94.14 kB / 0.7381 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.1948, allocations: 3.499 MB / 0.7415 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.1952, allocations: 0.7951 MB / 0.7423 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.1953, allocations: 30.92 kB / 0.7423 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.1955, allocations: 115.4 kB / 0.7424 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.1955, allocations: 4 kB / 0.7425 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.2317, allocations: 8.011 MB / 0.7503 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.666, allocations: 4 kB / 0.7503 GB, free: 8.086 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.575729702133685] Failed to read output from testmodel.py, exit status != 0: 8.743181297089905 8.773955147 8.590958139 Calling exit ...