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.001295/0.001295, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.001428/0.001428, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.002557/0.002557, allocations: 282.4 kB / 313.5 MB, free: 2.922 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.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 13 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="cs",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="cs",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.002758/0.002758, allocations: 102.5 kB / 0.7404 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1582, allocations: 95.38 MB / 0.8336 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005435/0.1636, allocations: 4.207 MB / 0.8377 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.1672, allocations: 2.456 MB / 0.8401 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.1675, allocations: 12 kB / 0.8401 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.169, allocations: 0.5419 MB / 0.8406 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1696, allocations: 250 kB / 0.8408 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1698, allocations: 135.9 kB / 0.841 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.1707, allocations: 0.8215 MB / 0.8418 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.171, allocations: 227.1 kB / 0.842 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.1715, allocations: 314.9 kB / 0.8423 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1719, allocations: 322.6 kB / 0.8426 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.172, allocations: 76 kB / 0.8427 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1721, allocations: 72 kB / 0.8427 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.1722, allocations: 175.4 kB / 0.8429 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.1726, allocations: 386.3 kB / 0.8433 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.1736, allocations: 1.004 MB / 0.8443 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1736, allocations: 0 / 0.8443 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1736, allocations: 0 / 0.8443 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.1736, allocations: 0 / 0.8443 GB, free: 13.61 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.001527/0.1752, allocations: 0.8977 MB / 0.8451 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1752, allocations: 9.344 kB / 0.8451 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.872e-05/0.1752, allocations: 17.17 kB / 0.8452 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.1753, allocations: 94.64 kB / 0.8452 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1754, allocations: 76.47 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.1762, allocations: 400.2 kB / 0.8457 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1762, allocations: 37.38 kB / 0.8457 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.1763, allocations: 48.38 kB / 0.8458 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.177, allocations: 430.4 kB / 0.8462 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1771, allocations: 0 / 0.8462 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1771, allocations: 20 kB / 0.8462 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1771, allocations: 12 kB / 0.8462 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.1778, allocations: 375.7 kB / 0.8466 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.18, allocations: 1.476 MB / 0.848 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.1805, allocations: 320.8 kB / 0.8483 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.181, allocations: 288.7 kB / 0.8486 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.181, allocations: 4 kB / 0.8486 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.181, allocations: 42.5 kB / 0.8486 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.181, allocations: 0 / 0.8486 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009847/0.182, allocations: 498.5 kB / 0.8491 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.1821, allocations: 59.41 kB / 0.8492 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.1826, allocations: 485.9 kB / 0.8496 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1827, allocations: 33.7 kB / 0.8497 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1829, allocations: 272.7 kB / 0.8499 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.183, allocations: 154.6 kB / 0.8501 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1831, allocations: 62.08 kB / 0.8501 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1833, allocations: 362.8 kB / 0.8505 GB, free: 7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.1835, allocations: 120.7 kB / 0.8506 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1838, allocations: 129.4 kB / 0.8507 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.1843, allocations: 299.3 kB / 0.851 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1843, allocations: 4 kB / 0.851 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006951/0.185, allocations: 400.5 kB / 0.8514 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.185, allocations: 4 kB / 0.8514 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.185, allocations: 0 / 0.8514 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1851, allocations: 8 kB / 0.8514 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.1855, allocations: 123.9 kB / 0.8515 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1856, allocations: 0 / 0.8515 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.1858, allocations: 39.72 kB / 0.8516 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1858, allocations: 11.94 kB / 0.8516 GB, free: 5.879 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.0002379/0.186, allocations: 197.8 kB / 0.8518 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.1861, allocations: 59.61 kB / 0.8518 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1863, allocations: 61.11 kB / 0.8519 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1863, allocations: 4 kB / 0.8519 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1863, allocations: 0 / 0.8519 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1863, allocations: 3.984 kB / 0.8519 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.1869, allocations: 0.5583 MB / 0.8524 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1869, allocations: 0 / 0.8524 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.1875, allocations: 123.9 kB / 0.8526 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1875, allocations: 4 kB / 0.8526 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1875, allocations: 8 kB / 0.8526 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1875, allocations: 4 kB / 0.8526 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1875, allocations: 0 / 0.8526 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1885, allocations: 0.6549 MB / 0.8532 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1887, allocations: 59.59 kB / 0.8533 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.1887, allocations: 15.94 kB / 0.8533 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1889, allocations: 15.98 kB / 0.8533 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.189, allocations: 24.05 kB / 0.8533 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.189, allocations: 12 kB / 0.8533 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004119/0.1894, allocations: 347.1 kB / 0.8537 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.8537 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004183/0.1899, allocations: 143.7 kB / 0.8538 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.001314/0.1912, allocations: 1.215 MB / 0.855 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.1918, allocations: 303.5 kB / 0.8553 GB, free: 2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1918, allocations: 0 / 0.8553 GB, free: 2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1921, allocations: 167.8 kB / 0.8554 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.1928, allocations: 122.5 kB / 0.8555 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.1995, allocations: 4.859 MB / 0.8603 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.2, allocations: 0.8742 MB / 0.8611 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.2002, allocations: 64.25 kB / 0.8612 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2005, allocations: 187.4 kB / 0.8614 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.2005, allocations: 0 / 0.8614 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.237, allocations: 11.86 MB / 0.873 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.8, allocations: 8.062 kB / 0.873 GB, free: 80 kB / 0.6075 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 15.985413973976392] Failed to read output from testmodel.py, exit status != 0: 12.003583459998481 12.030397363 11.851915312 Calling exit ...