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.001565/0.001565, 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.001505/0.001505, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.805 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.002508/0.002508, allocations: 288.5 kB / 312.7 MB, free: 2.609 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.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.002921/0.002921, allocations: 109.7 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1476, allocations: 95.38 MB / 0.8327 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002505/0.1501, allocations: 1.446 MB / 0.8341 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1543, allocations: 2.672 MB / 0.8367 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.1543, allocations: 0 / 0.8367 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.1543, allocations: 3.938 kB / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.1544, allocations: 15.8 kB / 0.8368 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.1582, allocations: 1.653 MB / 0.8384 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.1583, allocations: 47.67 kB / 0.8384 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.1583, allocations: 0 / 0.8384 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.1583, allocations: 11.94 kB / 0.8384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.178e-05/0.1584, allocations: 23.84 kB / 0.8385 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1584, allocations: 8 kB / 0.8385 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.1606, allocations: 1.474 MB / 0.8399 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1606, allocations: 7.984 kB / 0.8399 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.1607, allocations: 19.88 kB / 0.8399 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1621, allocations: 1.095 MB / 0.841 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1621, allocations: 4 kB / 0.841 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1621, allocations: 0 / 0.841 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1621, allocations: 0 / 0.841 GB, free: 15.81 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.0005939/0.1627, allocations: 472 kB / 0.8415 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1628, allocations: 16.62 kB / 0.8415 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.1628, allocations: 106 kB / 0.8416 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.1629, allocations: 80.17 kB / 0.8416 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.163, allocations: 197.8 kB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1631, allocations: 150.9 kB / 0.842 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.1632, allocations: 154.9 kB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/0.1632, allocations: 108.9 kB / 0.8422 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.1633, allocations: 75.28 kB / 0.8423 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.1633, allocations: 150.6 kB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.1634, allocations: 154.6 kB / 0.8426 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.1634, allocations: 158.5 kB / 0.8427 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.1637, allocations: 437 kB / 0.8432 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.1638, allocations: 169.1 kB / 0.8433 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.1639, allocations: 84.08 kB / 0.8434 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.1639, allocations: 83.22 kB / 0.8435 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.1639, allocations: 105.8 kB / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.1639, allocations: 0 / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.164, allocations: 41.64 kB / 0.8436 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1641, allocations: 130.7 kB / 0.8437 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1642, allocations: 135.8 kB / 0.8439 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1642, allocations: 25.7 kB / 0.8439 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.1643, allocations: 96.14 kB / 0.844 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1643, allocations: 0 / 0.844 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1643, allocations: 17.72 kB / 0.844 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1644, allocations: 318.8 kB / 0.8443 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.1645, allocations: 4 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.1645, allocations: 8 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.1645, allocations: 12.86 kB / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1645, allocations: 0 / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/0.1646, allocations: 61.58 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1647, allocations: 4 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.1647, allocations: 12.06 kB / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1647, allocations: 0 / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1647, allocations: 0 / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1647, allocations: 4 kB / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1647, allocations: 0 / 0.8444 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1647, allocations: 0 / 0.8444 GB, free: 12.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 (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.996e-05/0.1648, allocations: 185.8 kB / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.1649, allocations: 116.8 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.1649, allocations: 116.7 kB / 0.8448 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.597e-05/0.165, allocations: 176.3 kB / 0.845 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-05/0.1651, allocations: 188.2 kB / 0.8452 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-05/0.1652, allocations: 180.2 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1654, allocations: 388.2 kB / 0.8457 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/0.1655, allocations: 104.9 kB / 0.8458 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.1655, allocations: 105 kB / 0.8459 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.046e-05/0.1656, allocations: 180.2 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.1656, allocations: 180.2 kB / 0.8463 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-05/0.1657, allocations: 180.3 kB / 0.8464 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/0.1658, allocations: 184.1 kB / 0.8466 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1659, allocations: 319.7 kB / 0.8469 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.166, allocations: 108.9 kB / 0.847 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.1661, allocations: 192.2 kB / 0.8472 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.1662, allocations: 104.9 kB / 0.8473 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.1662, allocations: 176.3 kB / 0.8475 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.1663, allocations: 108.9 kB / 0.8476 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.1663, allocations: 101.4 kB / 0.8477 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1663, allocations: 0 / 0.8477 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007117/0.1671, allocations: 299 kB / 0.8479 GB, free: 8.289 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.001316/0.1684, allocations: 1.194 MB / 0.8491 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.1685, allocations: 41.64 kB / 0.8492 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1685, allocations: 0 / 0.8492 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1685, allocations: 0 / 0.8492 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1689, allocations: 463.7 kB / 0.8496 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1703, allocations: 1.617 MB / 0.8512 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.1704, allocations: 71.58 kB / 0.8512 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.295e-05/0.1704, allocations: 4 kB / 0.8512 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.1704, allocations: 11.44 kB / 0.8513 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1704, allocations: 0 / 0.8513 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.2063, allocations: 7.838 MB / 0.8589 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.43, allocations: 3.984 kB / 0.8589 GB, free: 13.11 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.473762362264097] Failed to read output from testmodel.py, exit status != 0: 11.53576314309612 11.560600811 11.394000976 Calling exit ...