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.001462/0.001462, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001658/0.001658, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002357/0.002357, allocations: 289.8 kB / 312.7 MB, free: 2.781 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.126/1.126, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002752/0.002752, allocations: 106 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1543, allocations: 95.38 MB / 0.8328 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005544/0.1598, allocations: 4.203 MB / 0.8369 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.1634, allocations: 2.46 MB / 0.8393 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.1637, allocations: 11.94 kB / 0.8393 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.1652, allocations: 0.5414 MB / 0.8398 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.1657, allocations: 262 kB / 0.8401 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.166, allocations: 135.9 kB / 0.8402 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.1668, allocations: 0.8137 MB / 0.841 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.1672, allocations: 231 kB / 0.8412 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.1676, allocations: 302.9 kB / 0.8415 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.168, allocations: 330.6 kB / 0.8418 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.1681, allocations: 72 kB / 0.8419 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1682, allocations: 76 kB / 0.842 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1684, allocations: 171.4 kB / 0.8421 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.1687, allocations: 394.2 kB / 0.8425 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009579/0.1697, allocations: 1 MB / 0.8435 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1697, allocations: 0 / 0.8435 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1697, allocations: 0 / 0.8435 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1697, allocations: 4 kB / 0.8435 GB, free: 13.6 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.001413/0.1711, allocations: 0.8924 MB / 0.8444 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1711, allocations: 9.344 kB / 0.8444 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.746e-05/0.1712, allocations: 90.64 kB / 0.8445 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1713, allocations: 76.47 kB / 0.8445 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.172, allocations: 408.2 kB / 0.8449 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.172, allocations: 33.38 kB / 0.8449 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.1721, allocations: 52.31 kB / 0.845 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.1728, allocations: 430.6 kB / 0.8454 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1729, allocations: 4 kB / 0.8454 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.1729, allocations: 20 kB / 0.8454 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1729, allocations: 12 kB / 0.8454 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.1736, allocations: 367.8 kB / 0.8458 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1757, allocations: 1.48 MB / 0.8472 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.1762, allocations: 317.3 kB / 0.8475 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.1766, allocations: 292.8 kB / 0.8478 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1767, allocations: 7.938 kB / 0.8478 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1767, allocations: 30.56 kB / 0.8479 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.1767, allocations: 0 / 0.8479 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009514/0.1776, allocations: 0.4946 MB / 0.8483 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1777, allocations: 63.34 kB / 0.8484 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.1783, allocations: 485.9 kB / 0.8489 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1783, allocations: 29.7 kB / 0.8489 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1785, allocations: 276.7 kB / 0.8492 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1786, allocations: 158.6 kB / 0.8493 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.1787, allocations: 62.08 kB / 0.8494 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1789, allocations: 358.8 kB / 0.8497 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.1791, allocations: 124.7 kB / 0.8498 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1794, allocations: 125.4 kB / 0.8499 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.1799, allocations: 291.3 kB / 0.8502 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1799, allocations: 0 / 0.8502 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000658/0.1805, allocations: 404.4 kB / 0.8506 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1805, allocations: 12 kB / 0.8506 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1805, allocations: 3.984 kB / 0.8506 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1806, allocations: 0 / 0.8506 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.181, allocations: 123.9 kB / 0.8507 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.181, allocations: 7.984 kB / 0.8508 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1813, allocations: 31.73 kB / 0.8508 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1813, allocations: 12 kB / 0.8508 GB, free: 5.891 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.0002183/0.1815, allocations: 201.8 kB / 0.851 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.1816, allocations: 55.61 kB / 0.851 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1817, allocations: 57.09 kB / 0.8511 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1817, allocations: 4 kB / 0.8511 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1817, allocations: 0 / 0.8511 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1817, allocations: 4 kB / 0.8511 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.1824, allocations: 0.5545 MB / 0.8516 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1824, allocations: 3.938 kB / 0.8516 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.1829, allocations: 127.9 kB / 0.8518 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1829, allocations: 0 / 0.8518 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1829, allocations: 12 kB / 0.8518 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1829, allocations: 3.938 kB / 0.8518 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1829, allocations: 3.984 kB / 0.8518 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.1839, allocations: 0.6433 MB / 0.8524 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.184, allocations: 71.53 kB / 0.8525 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.184, allocations: 8.094 kB / 0.8525 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1843, allocations: 15.98 kB / 0.8525 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1843, allocations: 31.94 kB / 0.8525 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1843, allocations: 4 kB / 0.8525 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003998/0.1847, allocations: 355.1 kB / 0.8529 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1847, allocations: 0 / 0.8529 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003917/0.1851, allocations: 147.7 kB / 0.853 GB, free: 3.539 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.001286/0.1864, allocations: 1.215 MB / 0.8542 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.187, allocations: 299.6 kB / 0.8545 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.187, allocations: 0 / 0.8545 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.1873, allocations: 163.8 kB / 0.8547 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.1879, allocations: 113.9 kB / 0.8548 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.1943, allocations: 4.866 MB / 0.8595 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.1948, allocations: 0.8665 MB / 0.8604 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.195, allocations: 60.31 kB / 0.8604 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1952, allocations: 191.4 kB / 0.8606 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/0.1952, allocations: 0 / 0.8606 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04218/0.2374, allocations: 11.83 MB / 0.8722 GB, free: 112 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.09, allocations: 10.25 kB / 0.8722 GB, free: 108 kB / 0.6075 GB " [Timeout remaining time 649] (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: 14.974762145000568] Failed to read output from testmodel.py, exit status != 0: 11.202880158998596 11.230860078 11.056377401 Calling exit ...