Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001404/0.001404, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.008 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.002433/0.002433, allocations: 290.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.154/1.154, 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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002765/0.002765, allocations: 95.16 kB / 0.7397 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1513, allocations: 95.39 MB / 0.8328 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002384/0.1537, allocations: 1.452 MB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.158, allocations: 2.963 MB / 0.8371 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.158, allocations: 0 / 0.8371 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.158, allocations: 3.984 kB / 0.8371 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.1581, allocations: 11.86 kB / 0.8371 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003786/0.1619, allocations: 1.684 MB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.162, allocations: 43.73 kB / 0.8388 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.162, allocations: 4 kB / 0.8388 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.162, allocations: 19.92 kB / 0.8388 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.1621, allocations: 15.88 kB / 0.8389 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1621, allocations: 4 kB / 0.8389 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.1645, allocations: 1.72 MB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1645, allocations: 4 kB / 0.8405 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.1645, allocations: 15.88 kB / 0.8406 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.166, allocations: 1.122 MB / 0.8417 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.166, allocations: 4 kB / 0.8417 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.166, allocations: 4 kB / 0.8417 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.166, allocations: 3.938 kB / 0.8417 GB, free: 15.52 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.0005745/0.1665, allocations: 464.1 kB / 0.8421 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1666, allocations: 9.219 kB / 0.8421 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.1666, allocations: 109.9 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.1667, allocations: 88.17 kB / 0.8423 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1668, allocations: 189.8 kB / 0.8425 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.1669, allocations: 154.9 kB / 0.8426 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.167, allocations: 150.9 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.016e-05/0.1671, allocations: 108.9 kB / 0.8429 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.1671, allocations: 75.28 kB / 0.843 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/0.1672, allocations: 154.6 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.1672, allocations: 150.6 kB / 0.8432 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/0.1673, allocations: 158.5 kB / 0.8434 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.1676, allocations: 436.9 kB / 0.8438 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.1677, allocations: 169.1 kB / 0.844 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.1677, allocations: 80.14 kB / 0.8441 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.1677, allocations: 83.22 kB / 0.8441 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.1678, allocations: 113.8 kB / 0.8442 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1678, allocations: 0 / 0.8442 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.286e-05/0.1679, allocations: 29.66 kB / 0.8443 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.1679, allocations: 126.7 kB / 0.8444 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1681, allocations: 139.4 kB / 0.8445 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1681, allocations: 25.7 kB / 0.8445 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.1681, allocations: 92.09 kB / 0.8446 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1681, allocations: 0 / 0.8446 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1682, allocations: 21.77 kB / 0.8447 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1683, allocations: 318.8 kB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.1683, allocations: 8 kB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.1683, allocations: 0 / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.1684, allocations: 20.8 kB / 0.845 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1684, allocations: 0 / 0.845 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.1685, allocations: 53.66 kB / 0.845 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1685, allocations: 10.34 kB / 0.845 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.1685, allocations: 3.938 kB / 0.8451 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1685, allocations: 0 / 0.8451 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.1685, allocations: 0 / 0.8451 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1685, allocations: 4 kB / 0.8451 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.1686, allocations: 3.953 kB / 0.8451 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1686, allocations: 0 / 0.8451 GB, free: 11.84 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 0.0001008/0.1687, allocations: 189.8 kB / 0.8452 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1687, allocations: 116.9 kB / 0.8454 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.1688, allocations: 112.6 kB / 0.8455 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/0.1689, allocations: 180.2 kB / 0.8456 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-05/0.1689, allocations: 180.2 kB / 0.8458 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.135e-05/0.169, allocations: 188.2 kB / 0.846 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.1692, allocations: 388.2 kB / 0.8464 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.859e-05/0.1693, allocations: 101 kB / 0.8465 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.1693, allocations: 108.9 kB / 0.8466 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.606e-05/0.1694, allocations: 176.3 kB / 0.8467 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.1695, allocations: 184.2 kB / 0.8469 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.887e-05/0.1695, allocations: 180.2 kB / 0.8471 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-05/0.1696, allocations: 184.3 kB / 0.8472 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.1697, allocations: 311.7 kB / 0.8475 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1698, allocations: 116.9 kB / 0.8477 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.1699, allocations: 180.2 kB / 0.8478 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.1699, allocations: 105 kB / 0.8479 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.17, allocations: 180.2 kB / 0.8481 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.1701, allocations: 105 kB / 0.8482 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.1701, allocations: 103.2 kB / 0.8483 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1701, allocations: 0 / 0.8483 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006703/0.1708, allocations: 291 kB / 0.8486 GB, free: 8.039 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.001277/0.1721, allocations: 1.186 MB / 0.8497 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.1722, allocations: 33.69 kB / 0.8498 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1722, allocations: 0 / 0.8498 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1722, allocations: 4 kB / 0.8498 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.1726, allocations: 467.8 kB / 0.8502 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1739, allocations: 1.592 MB / 0.8518 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1742, allocations: 0.6884 MB / 0.8524 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.168e-05/0.1742, allocations: 4.031 kB / 0.8524 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1743, allocations: 15.44 kB / 0.8525 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.1743, allocations: 0 / 0.8525 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.2093, allocations: 7.181 MB / 0.8595 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.48, allocations: 0.5938 kB / 0.8595 GB, free: 12.93 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.469118176999473] Failed to read output from testmodel.py, exit status != 0: 10.581433377999929 10.59721934 10.428136149 Calling exit ...