Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001664/0.001664, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001979/0.001979, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 286.5 kB / 309.1 MB, free: 3.953 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 180.9 MB / 0.5333 GB, free: 13.78 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002767/0.002767, allocations: 108.4 kB / 0.7343 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1554, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005277/0.1607, allocations: 4.182 MB / 0.8315 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1641, allocations: 2.456 MB / 0.8339 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.1644, allocations: 12 kB / 0.8339 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.1659, allocations: 0.5363 MB / 0.8344 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.1664, allocations: 258 kB / 0.8347 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1666, allocations: 139.9 kB / 0.8348 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008306/0.1674, allocations: 0.8098 MB / 0.8356 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.1678, allocations: 226.6 kB / 0.8358 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1682, allocations: 306.9 kB / 0.8361 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.1686, allocations: 334.6 kB / 0.8364 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/0.1687, allocations: 72 kB / 0.8365 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1688, allocations: 80 kB / 0.8366 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.1689, allocations: 167.5 kB / 0.8367 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1693, allocations: 390.3 kB / 0.8371 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.1702, allocations: 0.9962 MB / 0.8381 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1703, allocations: 0 / 0.8381 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1703, allocations: 0 / 0.8381 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.1703, allocations: 0 / 0.8381 GB, free: 14.88 MB / 0.5919 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.001469/0.1717, allocations: 0.9613 MB / 0.839 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1718, allocations: 15.97 kB / 0.839 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.676e-05/0.1719, allocations: 90.7 kB / 0.8391 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.172, allocations: 80.47 kB / 0.8392 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.1727, allocations: 466 kB / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.1727, allocations: 37.38 kB / 0.8397 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.1728, allocations: 48.38 kB / 0.8397 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.1735, allocations: 430.5 kB / 0.8401 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.1735, allocations: 0 / 0.8401 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.1736, allocations: 24 kB / 0.8401 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1736, allocations: 15.98 kB / 0.8402 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.1743, allocations: 367.8 kB / 0.8405 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1764, allocations: 1.516 MB / 0.842 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.1769, allocations: 317.5 kB / 0.8423 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.1774, allocations: 289.3 kB / 0.8426 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1774, allocations: 7.938 kB / 0.8426 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1774, allocations: 38.56 kB / 0.8426 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.502e-06/0.1774, allocations: 0 / 0.8426 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009792/0.1784, allocations: 0.4946 MB / 0.8431 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1785, allocations: 59.34 kB / 0.8432 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.179, allocations: 485.9 kB / 0.8436 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1791, allocations: 33.7 kB / 0.8436 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.1793, allocations: 280.7 kB / 0.8439 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1794, allocations: 154.6 kB / 0.8441 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.1795, allocations: 62.08 kB / 0.8441 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1797, allocations: 362.8 kB / 0.8445 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.1799, allocations: 120.7 kB / 0.8446 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1802, allocations: 125.2 kB / 0.8447 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005315/0.1807, allocations: 302.2 kB / 0.845 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1807, allocations: 0 / 0.845 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006727/0.1814, allocations: 400.7 kB / 0.8454 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1814, allocations: 4 kB / 0.8454 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1814, allocations: 0 / 0.8454 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1814, allocations: 4 kB / 0.8454 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.1819, allocations: 123.9 kB / 0.8455 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.182, allocations: 0 / 0.8455 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.1822, allocations: 39.72 kB / 0.8455 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1822, allocations: 12 kB / 0.8455 GB, free: 6.945 MB / 0.5919 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.0002189/0.1824, allocations: 193.8 kB / 0.8457 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.1825, allocations: 59.59 kB / 0.8458 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1826, allocations: 61.11 kB / 0.8458 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1826, allocations: 4 kB / 0.8459 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1826, allocations: 0 / 0.8459 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1826, allocations: 3.984 kB / 0.8459 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.1833, allocations: 0.575 MB / 0.8464 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.1833, allocations: 15.92 kB / 0.8464 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.1839, allocations: 127.8 kB / 0.8466 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1839, allocations: 0 / 0.8466 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1839, allocations: 8 kB / 0.8466 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1839, allocations: 0 / 0.8466 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1839, allocations: 0 / 0.8466 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1849, allocations: 0.6589 MB / 0.8472 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1851, allocations: 144.6 kB / 0.8473 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.1851, allocations: 4 kB / 0.8473 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1853, allocations: 15.98 kB / 0.8474 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1854, allocations: 19.97 kB / 0.8474 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1854, allocations: 12 kB / 0.8474 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004044/0.1858, allocations: 347.1 kB / 0.8477 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1858, allocations: 0 / 0.8477 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004059/0.1862, allocations: 151.7 kB / 0.8479 GB, free: 4.477 MB / 0.5919 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.00133/0.1876, allocations: 1.219 MB / 0.8491 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006306/0.1882, allocations: 303.6 kB / 0.8494 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1882, allocations: 0 / 0.8494 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.1885, allocations: 167.8 kB / 0.8495 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.1891, allocations: 120 kB / 0.8496 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.1957, allocations: 4.866 MB / 0.8544 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1961, allocations: 0.8665 MB / 0.8552 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.1964, allocations: 60.31 kB / 0.8553 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.1966, allocations: 189.1 kB / 0.8555 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.1966, allocations: 0 / 0.8555 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.2352, allocations: 11.57 MB / 0.8668 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.521/8.756, allocations: 12.5 kB / 0.8668 GB, free: 1.312 MB / 0.6075 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.898366053123027] Failed to read output from testmodel.py, exit status != 0: 8.831231032963842 8.855458108 8.680521919 Calling exit ...