Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001333/0.001333, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001621/0.001621, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 8 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.002459/0.002459, allocations: 285.2 kB / 312.7 MB, free: 2.809 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.152/1.152, allocations: 180.6 MB / 0.5369 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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.002845/0.002845, allocations: 106.4 kB / 0.7396 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 95.38 MB / 0.8328 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004399/0.1699, allocations: 3.092 MB / 0.8358 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1729, allocations: 2.188 MB / 0.8379 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.1731, allocations: 8 kB / 0.8379 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.1745, allocations: 0.4938 MB / 0.8384 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1748, allocations: 154.9 kB / 0.8386 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.175, allocations: 67.83 kB / 0.8386 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.1755, allocations: 451.8 kB / 0.8391 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1757, allocations: 99.84 kB / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1759, allocations: 167.4 kB / 0.8393 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1762, allocations: 179.2 kB / 0.8395 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.1762, allocations: 36 kB / 0.8395 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.856e-05/0.1763, allocations: 36 kB / 0.8396 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1764, allocations: 107.5 kB / 0.8397 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1766, allocations: 215 kB / 0.8399 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.1772, allocations: 0.5486 MB / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1772, allocations: 0 / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1772, allocations: 0 / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.1772, allocations: 0 / 0.8404 GB, free: 0.793 MB / 0.5762 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.001028/0.1782, allocations: 0.6406 MB / 0.841 GB, free: 120 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1783, allocations: 13.34 kB / 0.841 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.1783, allocations: 50.73 kB / 0.8411 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.1784, allocations: 48.84 kB / 0.8411 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.179, allocations: 320.6 kB / 0.8414 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.179, allocations: 20.8 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.179, allocations: 20.38 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.1794, allocations: 207.2 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1794, allocations: 0 / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1795, allocations: 15.94 kB / 0.8417 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1795, allocations: 4 kB / 0.8417 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.1798, allocations: 157.7 kB / 0.8418 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.181, allocations: 0.8355 MB / 0.8427 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1813, allocations: 150.4 kB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.1815, allocations: 104.8 kB / 0.8429 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1815, allocations: 0 / 0.8429 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1816, allocations: 38.56 kB / 0.8429 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.1816, allocations: 0 / 0.8429 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.000596/0.1822, allocations: 253.5 kB / 0.8432 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1822, allocations: 55.34 kB / 0.8432 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.1827, allocations: 421.7 kB / 0.8436 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1827, allocations: 29.7 kB / 0.8437 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1829, allocations: 204.5 kB / 0.8439 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.1829, allocations: 71.41 kB / 0.8439 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.183, allocations: 33.72 kB / 0.844 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1831, allocations: 346.8 kB / 0.8443 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1833, allocations: 51.97 kB / 0.8443 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1834, allocations: 66.16 kB / 0.8444 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1837, allocations: 132.8 kB / 0.8445 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1837, allocations: 7.938 kB / 0.8445 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003804/0.1841, allocations: 212 kB / 0.8447 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1841, allocations: 9.5 kB / 0.8448 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1841, allocations: 4 kB / 0.8448 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1841, allocations: 0 / 0.8448 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1844, allocations: 55.95 kB / 0.8448 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1844, allocations: 0 / 0.8448 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.1845, allocations: 19.89 kB / 0.8448 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.1845, allocations: 8 kB / 0.8448 GB, free: 12.04 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 (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.0001619/0.1847, allocations: 165.8 kB / 0.845 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.1848, allocations: 39.7 kB / 0.845 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.1848, allocations: 39.53 kB / 0.8451 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1848, allocations: 7.984 kB / 0.8451 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1848, allocations: 0 / 0.8451 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1849, allocations: 3.984 kB / 0.8451 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1853, allocations: 344.5 kB / 0.8454 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1853, allocations: 0 / 0.8454 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1855, allocations: 55.95 kB / 0.8455 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1855, allocations: 7.875 kB / 0.8455 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1855, allocations: 4 kB / 0.8455 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1855, allocations: 0 / 0.8455 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1855, allocations: 3.938 kB / 0.8455 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.1861, allocations: 375.1 kB / 0.8458 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.1862, allocations: 47.72 kB / 0.8459 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1863, allocations: 11.94 kB / 0.8459 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1864, allocations: 11.98 kB / 0.8459 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1865, allocations: 11.97 kB / 0.8459 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1865, allocations: 0 / 0.8459 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003344/0.1868, allocations: 303.2 kB / 0.8462 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1868, allocations: 4.062 kB / 0.8462 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003036/0.1871, allocations: 75.84 kB / 0.8463 GB, free: 10.49 MB / 0.5919 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.0009017/0.188, allocations: 0.9209 MB / 0.8472 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.1884, allocations: 147.8 kB / 0.8473 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1884, allocations: 0 / 0.8473 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1885, allocations: 70.25 kB / 0.8474 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.1891, allocations: 101.4 kB / 0.8475 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.1936, allocations: 3.487 MB / 0.8509 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.194, allocations: 0.799 MB / 0.8517 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.1942, allocations: 34.97 kB / 0.8517 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1943, allocations: 115.4 kB / 0.8518 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.1943, allocations: 0 / 0.8518 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.2336, allocations: 8.204 MB / 0.8598 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.49, allocations: 8.062 kB / 0.8598 GB, free: 12.74 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61923193000257] Failed to read output from testmodel.py, exit status != 0: 11.596231887117028 11.613062598 11.432583725 Calling exit ...