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.001299/0.001299, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001515/0.001515, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 291.8 kB / 309.1 MB, free: 3.961 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 180.9 MB / 0.5333 GB, free: 13.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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002706/0.002706, allocations: 114.5 kB / 0.7343 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.158, allocations: 95.33 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004331/0.1624, allocations: 3.064 MB / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.1653, allocations: 2.184 MB / 0.8325 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1655, allocations: 4 kB / 0.8325 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.1668, allocations: 0.5007 MB / 0.833 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1671, allocations: 146.8 kB / 0.8332 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1672, allocations: 63.94 kB / 0.8332 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.1677, allocations: 445.8 kB / 0.8336 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.1679, allocations: 103.3 kB / 0.8337 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.1682, allocations: 171.3 kB / 0.8339 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1684, allocations: 183.1 kB / 0.8341 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.1685, allocations: 36 kB / 0.8341 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.1685, allocations: 36 kB / 0.8341 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1686, allocations: 99.66 kB / 0.8342 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1688, allocations: 214.9 kB / 0.8344 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.1694, allocations: 0.5486 MB / 0.835 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1694, allocations: 0 / 0.835 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1694, allocations: 0 / 0.835 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1694, allocations: 4 kB / 0.835 GB, free: 2.051 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.00108/0.1705, allocations: 0.7121 MB / 0.8357 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1705, allocations: 15.97 kB / 0.8357 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/0.1706, allocations: 54.73 kB / 0.8358 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.1707, allocations: 56.61 kB / 0.8358 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.1712, allocations: 382.4 kB / 0.8362 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1712, allocations: 16.81 kB / 0.8362 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1713, allocations: 20.38 kB / 0.8362 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.1717, allocations: 199.4 kB / 0.8364 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1717, allocations: 4 kB / 0.8364 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1717, allocations: 8 kB / 0.8364 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1717, allocations: 7.938 kB / 0.8364 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1721, allocations: 169.6 kB / 0.8366 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1734, allocations: 0.8664 MB / 0.8374 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1737, allocations: 142.6 kB / 0.8376 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1739, allocations: 100.8 kB / 0.8377 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1739, allocations: 3.938 kB / 0.8377 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1739, allocations: 30.56 kB / 0.8377 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.1739, allocations: 4 kB / 0.8377 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006275/0.1746, allocations: 262.9 kB / 0.8379 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1746, allocations: 55.41 kB / 0.838 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.1751, allocations: 413.7 kB / 0.8384 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1751, allocations: 29.7 kB / 0.8384 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1753, allocations: 204.4 kB / 0.8386 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.1753, allocations: 67.44 kB / 0.8387 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.1754, allocations: 33.7 kB / 0.8387 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.1756, allocations: 350.8 kB / 0.839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1757, allocations: 51.97 kB / 0.8391 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.1759, allocations: 69.58 kB / 0.8392 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.1762, allocations: 131 kB / 0.8393 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1762, allocations: 0 / 0.8393 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004086/0.1766, allocations: 209.4 kB / 0.8395 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1766, allocations: 4 kB / 0.8395 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1766, allocations: 3.938 kB / 0.8395 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1767, allocations: 4 kB / 0.8395 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.1769, allocations: 55.91 kB / 0.8395 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1769, allocations: 0 / 0.8395 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1771, allocations: 23.88 kB / 0.8396 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1771, allocations: 4 kB / 0.8396 GB, free: 13.11 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.0001636/0.1772, allocations: 165.8 kB / 0.8397 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1773, allocations: 35.77 kB / 0.8398 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.1774, allocations: 43.53 kB / 0.8398 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1774, allocations: 0 / 0.8398 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1774, allocations: 0 / 0.8398 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1774, allocations: 15.81 kB / 0.8398 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1778, allocations: 377.3 kB / 0.8402 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1778, allocations: 0 / 0.8402 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.1781, allocations: 55.97 kB / 0.8402 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1781, allocations: 0 / 0.8402 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1781, allocations: 7.938 kB / 0.8402 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1781, allocations: 0 / 0.8402 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1781, allocations: 0 / 0.8402 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.1787, allocations: 385.2 kB / 0.8406 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1788, allocations: 128.9 kB / 0.8407 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1789, allocations: 3.938 kB / 0.8407 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.179, allocations: 11.98 kB / 0.8408 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.1791, allocations: 7.984 kB / 0.8408 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1791, allocations: 8 kB / 0.8408 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003405/0.1794, allocations: 299.2 kB / 0.8411 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 0.8411 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003015/0.1797, allocations: 75.84 kB / 0.8411 GB, free: 11.42 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.0009331/0.1807, allocations: 0.9246 MB / 0.842 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.181, allocations: 139.8 kB / 0.8422 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.181, allocations: 4.062 kB / 0.8422 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1812, allocations: 77.94 kB / 0.8422 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1817, allocations: 107.5 kB / 0.8423 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.1863, allocations: 3.493 MB / 0.8458 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1867, allocations: 0.7912 MB / 0.8465 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.1869, allocations: 34.95 kB / 0.8466 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.187, allocations: 115.4 kB / 0.8467 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.187, allocations: 4 kB / 0.8467 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.2197, allocations: 8.06 MB / 0.8545 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.389, allocations: 11.98 kB / 0.8546 GB, free: 13.83 MB / 0.6075 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.456460379995406] Failed to read output from testmodel.py, exit status != 0: 8.462416775058955 8.486707773000001 8.312985673 Calling exit ...