Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001402/0.001402, 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.001752/0.001752, allocations: 218.9 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.984 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.002452/0.002452, allocations: 277.7 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.147/1.147, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.002758/0.002758, allocations: 109.8 kB / 0.7397 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1525, allocations: 95.38 MB / 0.8328 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002443/0.1549, allocations: 1.461 MB / 0.8342 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.1592, allocations: 2.995 MB / 0.8372 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.1593, allocations: 3.938 kB / 0.8372 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.1593, allocations: 3.984 kB / 0.8372 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.1594, allocations: 15.8 kB / 0.8372 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.1632, allocations: 1.728 MB / 0.8389 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.1633, allocations: 43.73 kB / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.1633, allocations: 0 / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.1634, allocations: 19.92 kB / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.1634, allocations: 15.88 kB / 0.8389 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1634, allocations: 4 kB / 0.8389 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.1659, allocations: 1.759 MB / 0.8407 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.166, allocations: 3.938 kB / 0.8407 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.166, allocations: 19.88 kB / 0.8407 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1678, allocations: 1.157 MB / 0.8418 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1678, allocations: 4 kB / 0.8418 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1678, allocations: 0 / 0.8418 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1678, allocations: 0 / 0.8418 GB, free: 15.35 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006447/0.1685, allocations: 472 kB / 0.8423 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1685, allocations: 12.62 kB / 0.8423 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.558e-05/0.1686, allocations: 106 kB / 0.8424 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.1686, allocations: 76.22 kB / 0.8425 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1688, allocations: 201.7 kB / 0.8427 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.1689, allocations: 162.9 kB / 0.8428 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.1689, allocations: 150.9 kB / 0.843 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.169, allocations: 104.9 kB / 0.8431 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.169, allocations: 75.28 kB / 0.8431 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/0.1691, allocations: 154.5 kB / 0.8433 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.1691, allocations: 154.6 kB / 0.8434 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.1692, allocations: 154.6 kB / 0.8436 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1695, allocations: 433 kB / 0.844 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.58e-05/0.1696, allocations: 169.1 kB / 0.8441 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.1696, allocations: 88.14 kB / 0.8442 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1697, allocations: 79.22 kB / 0.8443 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.1697, allocations: 105.8 kB / 0.8444 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1697, allocations: 0 / 0.8444 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.1698, allocations: 49.56 kB / 0.8444 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.1699, allocations: 126.7 kB / 0.8446 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.17, allocations: 143.3 kB / 0.8447 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.17, allocations: 25.7 kB / 0.8447 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.1701, allocations: 84.14 kB / 0.8448 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1701, allocations: 0 / 0.8448 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.1701, allocations: 25.7 kB / 0.8448 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1702, allocations: 314.8 kB / 0.8451 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.1702, allocations: 4 kB / 0.8451 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.1703, allocations: 4 kB / 0.8451 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.1703, allocations: 20.88 kB / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1703, allocations: 0 / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001221/0.1704, allocations: 57.53 kB / 0.8452 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1704, allocations: 6.188 kB / 0.8452 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.1705, allocations: 4 kB / 0.8452 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1705, allocations: 0 / 0.8452 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.1705, allocations: 4 kB / 0.8452 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1705, allocations: 0 / 0.8452 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.1705, allocations: 3.984 kB / 0.8452 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1705, allocations: 0 / 0.8452 GB, free: 11.65 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.946e-05/0.1706, allocations: 193.8 kB / 0.8454 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1707, allocations: 112.9 kB / 0.8455 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.1707, allocations: 112.7 kB / 0.8456 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.714e-05/0.1708, allocations: 180.2 kB / 0.8458 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.748e-05/0.1709, allocations: 180.2 kB / 0.846 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.1709, allocations: 188.3 kB / 0.8462 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1712, allocations: 384.2 kB / 0.8465 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.1712, allocations: 113 kB / 0.8466 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.1712, allocations: 105 kB / 0.8467 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.625e-05/0.1713, allocations: 180.2 kB / 0.8469 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.1714, allocations: 180.3 kB / 0.8471 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7e-05/0.1715, allocations: 184.3 kB / 0.8473 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.092e-05/0.1715, allocations: 184.2 kB / 0.8474 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1717, allocations: 323.6 kB / 0.8477 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1717, allocations: 108.9 kB / 0.8478 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.1718, allocations: 180.3 kB / 0.848 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1719, allocations: 108.9 kB / 0.8481 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.172, allocations: 184.2 kB / 0.8483 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.172, allocations: 104.9 kB / 0.8484 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.1721, allocations: 99.27 kB / 0.8485 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1721, allocations: 0 / 0.8485 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007875/0.1729, allocations: 295 kB / 0.8488 GB, free: 7.828 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001341/0.1742, allocations: 1.183 MB / 0.8499 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1743, allocations: 49.62 kB / 0.85 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1743, allocations: 0 / 0.85 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1743, allocations: 0 / 0.85 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1747, allocations: 459.7 kB / 0.8504 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1761, allocations: 1.627 MB / 0.852 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1764, allocations: 0.6846 MB / 0.8527 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.384e-05/0.1764, allocations: 0 / 0.8527 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1765, allocations: 15.44 kB / 0.8527 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.1765, allocations: 0 / 0.8527 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.2111, allocations: 7.38 MB / 0.8599 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.47, allocations: 0.5312 kB / 0.8599 GB, free: 12.49 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.406685035999544] Failed to read output from testmodel.py, exit status != 0: 10.57315147799818 10.588050226 10.417337569 Calling exit ...