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.001656/0.001656, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002216/0.002216, allocations: 216 kB / 22.26 MB, free: 5.078 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 8.016 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.002483/0.002483, allocations: 273.2 kB / 312.7 MB, free: 2.816 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.31/1.31, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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.00373/0.00373, allocations: 104.4 kB / 0.7396 GB, free: 28.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1666, allocations: 95.39 MB / 0.8328 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005571/0.1721, allocations: 4.2 MB / 0.8369 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.1757, allocations: 2.468 MB / 0.8393 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.176, allocations: 8 kB / 0.8393 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1775, allocations: 0.5421 MB / 0.8398 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.178, allocations: 254 kB / 0.8401 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1782, allocations: 135.9 kB / 0.8402 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000867/0.1791, allocations: 0.8137 MB / 0.841 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.1794, allocations: 231 kB / 0.8412 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.1799, allocations: 302.9 kB / 0.8415 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.1803, allocations: 334.6 kB / 0.8418 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.486e-05/0.1804, allocations: 72 kB / 0.8419 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1805, allocations: 76 kB / 0.842 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.1806, allocations: 167.4 kB / 0.8421 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.181, allocations: 394.2 kB / 0.8425 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.182, allocations: 1 MB / 0.8435 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.182, allocations: 0 / 0.8435 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.182, allocations: 4 kB / 0.8435 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.1821, allocations: 0 / 0.8435 GB, free: 13.76 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.001466/0.1835, allocations: 0.8938 MB / 0.8444 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1836, allocations: 13.88 kB / 0.8444 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1837, allocations: 86.7 kB / 0.8445 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1838, allocations: 80.47 kB / 0.8445 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.1845, allocations: 408.2 kB / 0.8449 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.1845, allocations: 37.38 kB / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.1846, allocations: 48.38 kB / 0.845 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.1853, allocations: 430.5 kB / 0.8454 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1853, allocations: 4 kB / 0.8454 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1854, allocations: 16 kB / 0.8454 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1854, allocations: 12 kB / 0.8454 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006866/0.1861, allocations: 367.8 kB / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1882, allocations: 1.476 MB / 0.8472 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.1887, allocations: 320.1 kB / 0.8475 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.1892, allocations: 296.7 kB / 0.8478 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1892, allocations: 7.938 kB / 0.8478 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1892, allocations: 34.56 kB / 0.8479 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.1892, allocations: 0 / 0.8479 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009661/0.1902, allocations: 494.5 kB / 0.8483 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1903, allocations: 63.34 kB / 0.8484 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005747/0.1908, allocations: 489.9 kB / 0.8489 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1909, allocations: 29.7 kB / 0.8489 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1911, allocations: 276.7 kB / 0.8492 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1912, allocations: 154.6 kB / 0.8493 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.1913, allocations: 62.08 kB / 0.8494 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1915, allocations: 358.8 kB / 0.8497 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.1917, allocations: 124.7 kB / 0.8498 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.192, allocations: 125.4 kB / 0.8499 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.1925, allocations: 291.3 kB / 0.8502 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1925, allocations: 0 / 0.8502 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00067/0.1931, allocations: 404.4 kB / 0.8506 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1932, allocations: 8 kB / 0.8506 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1932, allocations: 7.984 kB / 0.8506 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1932, allocations: 0 / 0.8506 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.1937, allocations: 127.8 kB / 0.8507 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1937, allocations: 7.984 kB / 0.8508 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1939, allocations: 32.5 kB / 0.8508 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.1939, allocations: 12 kB / 0.8508 GB, free: 6.047 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.0002465/0.1942, allocations: 201.7 kB / 0.851 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.1943, allocations: 59.61 kB / 0.851 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.1944, allocations: 61.09 kB / 0.8511 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1944, allocations: 4 kB / 0.8511 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1944, allocations: 4 kB / 0.8511 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1944, allocations: 7.938 kB / 0.8511 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.1951, allocations: 0.5467 MB / 0.8517 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1951, allocations: 3.938 kB / 0.8517 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/0.1956, allocations: 123.9 kB / 0.8518 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1956, allocations: 0 / 0.8518 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1956, allocations: 12 kB / 0.8518 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1956, allocations: 0 / 0.8518 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1956, allocations: 3.984 kB / 0.8518 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1966, allocations: 0.6472 MB / 0.8524 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1967, allocations: 63.53 kB / 0.8525 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.1968, allocations: 16 kB / 0.8525 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.197, allocations: 11.98 kB / 0.8525 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.1971, allocations: 23.95 kB / 0.8525 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1971, allocations: 12 kB / 0.8525 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004045/0.1975, allocations: 351.1 kB / 0.8529 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1975, allocations: 0 / 0.8529 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003983/0.1979, allocations: 147.7 kB / 0.853 GB, free: 3.699 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.001319/0.1992, allocations: 1.212 MB / 0.8542 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005925/0.1998, allocations: 295.6 kB / 0.8545 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1998, allocations: 0 / 0.8545 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.2001, allocations: 171.8 kB / 0.8546 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.2007, allocations: 130 kB / 0.8548 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.2073, allocations: 4.858 MB / 0.8595 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.2079, allocations: 0.8742 MB / 0.8604 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.2081, allocations: 56.38 kB / 0.8604 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.2084, allocations: 187.4 kB / 0.8606 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.2084, allocations: 0 / 0.8606 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/0.3686, allocations: 11.82 MB / 0.8721 GB, free: 280 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.79, allocations: 15.17 kB / 0.8722 GB, free: 268 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: 16.095589473145083] Failed to read output from testmodel.py, exit status != 0: 11.898405521176755 11.913739351 11.728641323 Calling exit ...