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.001267/0.001267, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00141/0.00141, allocations: 217.6 kB / 23.03 MB, free: 4.918 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002479/0.002479, allocations: 290.4 kB / 313.5 MB, free: 2.598 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.202/1.202, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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="cs",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="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.00275/0.00275, allocations: 98.72 kB / 0.7403 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1617, allocations: 95.39 MB / 0.8335 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00416/0.1658, allocations: 2.844 MB / 0.8362 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1685, allocations: 1.946 MB / 0.8381 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1687, allocations: 8 kB / 0.8381 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.17, allocations: 453.8 kB / 0.8386 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1702, allocations: 158.8 kB / 0.8387 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.1704, allocations: 55.95 kB / 0.8388 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.1708, allocations: 447.8 kB / 0.8392 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.171, allocations: 103.8 kB / 0.8393 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1713, allocations: 175.4 kB / 0.8395 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1715, allocations: 183.1 kB / 0.8396 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.1716, allocations: 36 kB / 0.8397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.1717, allocations: 32 kB / 0.8397 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1718, allocations: 95.67 kB / 0.8398 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.172, allocations: 179.1 kB / 0.84 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.1725, allocations: 0.5588 MB / 0.8405 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1725, allocations: 0 / 0.8405 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1725, allocations: 3.938 kB / 0.8405 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.1725, allocations: 0 / 0.8405 GB, free: 1.035 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.0009767/0.1735, allocations: 0.6407 MB / 0.8412 GB, free: 368 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1735, allocations: 13.34 kB / 0.8412 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.632e-05/0.1736, allocations: 4.625 kB / 0.8412 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.1736, allocations: 58.72 kB / 0.8412 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.988e-05/0.1737, allocations: 44.66 kB / 0.8413 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.1742, allocations: 325.2 kB / 0.8416 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1742, allocations: 16.81 kB / 0.8416 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.1743, allocations: 23.75 kB / 0.8416 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.1747, allocations: 203.3 kB / 0.8418 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1747, allocations: 4 kB / 0.8418 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1747, allocations: 8 kB / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1747, allocations: 4 kB / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.1751, allocations: 161.7 kB / 0.842 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1762, allocations: 0.69 MB / 0.8427 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1765, allocations: 138.6 kB / 0.8428 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.1767, allocations: 104.8 kB / 0.8429 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1767, allocations: 3.938 kB / 0.8429 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1768, allocations: 38.56 kB / 0.8429 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1768, allocations: 0 / 0.8429 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006021/0.1774, allocations: 263.2 kB / 0.8432 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1774, allocations: 51.41 kB / 0.8432 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.1779, allocations: 421.7 kB / 0.8436 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1779, allocations: 29.7 kB / 0.8437 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.178, allocations: 200.5 kB / 0.8438 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.1781, allocations: 75.34 kB / 0.8439 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.1782, allocations: 33.72 kB / 0.844 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1783, allocations: 346.8 kB / 0.8443 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1785, allocations: 51.97 kB / 0.8443 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1786, allocations: 63.95 kB / 0.8444 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1789, allocations: 143.1 kB / 0.8445 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1789, allocations: 0 / 0.8445 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003865/0.1793, allocations: 205.3 kB / 0.8447 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1793, allocations: 8 kB / 0.8447 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1793, allocations: 3.984 kB / 0.8447 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1793, allocations: 0 / 0.8447 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1796, allocations: 55.91 kB / 0.8448 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1796, allocations: 4 kB / 0.8448 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1798, allocations: 19.88 kB / 0.8448 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1798, allocations: 4 kB / 0.8448 GB, free: 12.44 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.0001532/0.1799, allocations: 157.8 kB / 0.845 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.18, allocations: 43.64 kB / 0.845 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.1801, allocations: 43.52 kB / 0.845 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1801, allocations: 7.984 kB / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1801, allocations: 0 / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1801, allocations: 4 kB / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.1804, allocations: 308.5 kB / 0.8454 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1805, allocations: 7.938 kB / 0.8454 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1807, allocations: 51.91 kB / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1807, allocations: 0 / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1807, allocations: 8 kB / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1807, allocations: 0 / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1807, allocations: 0 / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.1813, allocations: 381.5 kB / 0.8458 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.1814, allocations: 47.66 kB / 0.8458 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1815, allocations: 4 kB / 0.8458 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1816, allocations: 11.92 kB / 0.8458 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.1817, allocations: 11.98 kB / 0.8459 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1817, allocations: 4 kB / 0.8459 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003326/0.182, allocations: 307.1 kB / 0.8462 GB, free: 11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.182, allocations: 0 / 0.8462 GB, free: 11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003053/0.1823, allocations: 75.83 kB / 0.8462 GB, free: 10.93 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.0009142/0.1832, allocations: 0.9337 MB / 0.8471 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.1836, allocations: 141.5 kB / 0.8473 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1836, allocations: 0 / 0.8473 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1837, allocations: 67.91 kB / 0.8473 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.1843, allocations: 93.38 kB / 0.8474 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.1888, allocations: 3.496 MB / 0.8508 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.189, allocations: 190.5 kB / 0.851 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.1891, allocations: 30.97 kB / 0.8511 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1892, allocations: 123.4 kB / 0.8512 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.1892, allocations: 0 / 0.8512 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.2217, allocations: 8.638 MB / 0.8596 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.57, allocations: 8.672 kB / 0.8596 GB, free: 13.46 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.743389414972626] Failed to read output from testmodel.py, exit status != 0: 11.732495801057667 11.75974496 11.582252394 Calling exit ...