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.001318/0.001318, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001508/0.001508, allocations: 217 kB / 22.25 MB, free: 4.855 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.812 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.002523/0.002523, allocations: 289.7 kB / 312.7 MB, free: 2.633 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.201/1.201, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002991/0.002991, allocations: 101.7 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1559, allocations: 95.39 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005259/0.1611, allocations: 3.795 MB / 0.8364 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.1644, allocations: 2.219 MB / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.1646, allocations: 12 kB / 0.8386 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.166, allocations: 0.4897 MB / 0.8391 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.1664, allocations: 250 kB / 0.8393 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1666, allocations: 139.8 kB / 0.8394 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000803/0.1674, allocations: 0.8136 MB / 0.8402 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.1678, allocations: 211 kB / 0.8404 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.1682, allocations: 307 kB / 0.8407 GB, free: 60 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.1685, allocations: 282.6 kB / 0.841 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-05/0.1686, allocations: 76 kB / 0.8411 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1687, allocations: 72 kB / 0.8411 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.1689, allocations: 179.3 kB / 0.8413 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.1692, allocations: 314.6 kB / 0.8416 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.1702, allocations: 1.012 MB / 0.8426 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1702, allocations: 0 / 0.8426 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1702, allocations: 0 / 0.8426 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.1702, allocations: 0 / 0.8426 GB, free: 14.14 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.001446/0.1716, allocations: 0.8976 MB / 0.8435 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1717, allocations: 9.344 kB / 0.8435 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/0.1718, allocations: 86.7 kB / 0.8436 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1719, allocations: 76.47 kB / 0.8436 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.1726, allocations: 404.2 kB / 0.844 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.1726, allocations: 37.38 kB / 0.844 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.1727, allocations: 48.38 kB / 0.8441 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1734, allocations: 430.5 kB / 0.8445 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1734, allocations: 4 kB / 0.8445 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1735, allocations: 20 kB / 0.8445 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1735, allocations: 8 kB / 0.8445 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1742, allocations: 363.8 kB / 0.8449 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1762, allocations: 1.265 MB / 0.8461 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.1768, allocations: 321.1 kB / 0.8464 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.1772, allocations: 286.8 kB / 0.8467 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.1773, allocations: 7.938 kB / 0.8467 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1773, allocations: 38.56 kB / 0.8467 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.1773, allocations: 0 / 0.8467 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009686/0.1783, allocations: 0.4907 MB / 0.8472 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1783, allocations: 59.39 kB / 0.8473 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.1789, allocations: 485.9 kB / 0.8477 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1789, allocations: 33.7 kB / 0.8478 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.1791, allocations: 272.7 kB / 0.848 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.1793, allocations: 158.6 kB / 0.8482 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.1794, allocations: 58.08 kB / 0.8482 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1796, allocations: 362.8 kB / 0.8486 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.1798, allocations: 124.7 kB / 0.8487 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.1801, allocations: 125.5 kB / 0.8488 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.1806, allocations: 295.3 kB / 0.8491 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1806, allocations: 0 / 0.8491 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006771/0.1813, allocations: 404.4 kB / 0.8495 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1813, allocations: 8 kB / 0.8495 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1813, allocations: 0 / 0.8495 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1813, allocations: 0 / 0.8495 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1818, allocations: 127.9 kB / 0.8496 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1818, allocations: 4.766 kB / 0.8496 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.182, allocations: 43.64 kB / 0.8497 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.182, allocations: 12 kB / 0.8497 GB, free: 6.668 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.000214/0.1823, allocations: 193.8 kB / 0.8499 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.1823, allocations: 55.61 kB / 0.8499 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1825, allocations: 61.09 kB / 0.85 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1825, allocations: 8 kB / 0.85 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1825, allocations: 3.938 kB / 0.85 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1825, allocations: 7.984 kB / 0.85 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.1831, allocations: 488 kB / 0.8505 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.1831, allocations: 3.938 kB / 0.8505 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.1836, allocations: 123.9 kB / 0.8506 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1836, allocations: 0 / 0.8506 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1836, allocations: 8 kB / 0.8506 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1836, allocations: 0 / 0.8506 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1836, allocations: 4 kB / 0.8506 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1847, allocations: 0.655 MB / 0.8512 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1848, allocations: 67.53 kB / 0.8513 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.1848, allocations: 8 kB / 0.8513 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1851, allocations: 15.98 kB / 0.8513 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1851, allocations: 23.95 kB / 0.8513 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1851, allocations: 16 kB / 0.8514 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004136/0.1856, allocations: 351.1 kB / 0.8517 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1856, allocations: 4 kB / 0.8517 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003919/0.1859, allocations: 143.7 kB / 0.8518 GB, free: 4.387 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.00135/0.1873, allocations: 1.208 MB / 0.853 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.1879, allocations: 299.7 kB / 0.8533 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1879, allocations: 0 / 0.8533 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.1882, allocations: 167.8 kB / 0.8535 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.1888, allocations: 124.1 kB / 0.8536 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.1953, allocations: 4.858 MB / 0.8583 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1956, allocations: 275.2 kB / 0.8586 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.1957, allocations: 52.34 kB / 0.8586 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.196, allocations: 187.4 kB / 0.8588 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.196, allocations: 4 kB / 0.8588 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.2379, allocations: 12.65 MB / 0.8712 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.26, allocations: 7.984 kB / 0.8712 GB, free: 0.7969 MB / 0.6075 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_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_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.416344420984387] Failed to read output from testmodel.py, exit status != 0: 11.373751032631844 11.398011427 11.223079578 Calling exit ...