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.001685/0.001685, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001471/0.001471, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.789 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.002602/0.002602, allocations: 292.7 kB / 312.7 MB, free: 2.582 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.14/1.14, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.002905/0.002905, allocations: 104.3 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1498, allocations: 95.38 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002465/0.1522, allocations: 1.439 MB / 0.8341 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00417/0.1564, allocations: 2.625 MB / 0.8367 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1564, allocations: 4 kB / 0.8367 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.1564, allocations: 7.875 kB / 0.8367 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.1565, allocations: 19.84 kB / 0.8367 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.1603, allocations: 1.622 MB / 0.8383 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.1603, allocations: 35.75 kB / 0.8383 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.1604, allocations: 7.984 kB / 0.8383 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.1604, allocations: 15.94 kB / 0.8384 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.722e-05/0.1604, allocations: 11.94 kB / 0.8384 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.1604, allocations: 0 / 0.8384 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.1626, allocations: 1.458 MB / 0.8398 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1626, allocations: 7.922 kB / 0.8398 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1626, allocations: 15.94 kB / 0.8398 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.164, allocations: 1.072 MB / 0.8409 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.164, allocations: 0 / 0.8409 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.164, allocations: 0 / 0.8409 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.164, allocations: 3.938 kB / 0.8409 GB, free: 15.97 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.0005583/0.1646, allocations: 472 kB / 0.8413 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1646, allocations: 12.62 kB / 0.8413 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.1647, allocations: 106 kB / 0.8414 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1647, allocations: 80.22 kB / 0.8415 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1649, allocations: 199.8 kB / 0.8417 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.1649, allocations: 150.9 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.165, allocations: 150.9 kB / 0.842 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.95e-05/0.1651, allocations: 108.9 kB / 0.8421 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1651, allocations: 75.28 kB / 0.8422 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.1652, allocations: 150.6 kB / 0.8423 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.1652, allocations: 154.5 kB / 0.8425 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.1653, allocations: 154.5 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.1656, allocations: 437 kB / 0.843 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.1657, allocations: 165.1 kB / 0.8432 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.1657, allocations: 88.14 kB / 0.8433 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1657, allocations: 79.22 kB / 0.8433 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.1658, allocations: 113.8 kB / 0.8434 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1658, allocations: 0 / 0.8434 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.387e-05/0.1658, allocations: 25.7 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1659, allocations: 134.7 kB / 0.8436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.166, allocations: 136 kB / 0.8437 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.166, allocations: 25.7 kB / 0.8437 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1661, allocations: 88.14 kB / 0.8438 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-06/0.1661, allocations: 0 / 0.8438 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1661, allocations: 21.77 kB / 0.8439 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1663, allocations: 318.8 kB / 0.8442 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.1663, allocations: 8 kB / 0.8442 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/0.1663, allocations: 7.984 kB / 0.8442 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.1663, allocations: 12.8 kB / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1663, allocations: 0 / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000119/0.1665, allocations: 57.58 kB / 0.8442 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1665, allocations: 4 kB / 0.8442 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.1665, allocations: 8 kB / 0.8443 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1665, allocations: 0 / 0.8443 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1665, allocations: 3.938 kB / 0.8443 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1665, allocations: 8 kB / 0.8443 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.1665, allocations: 0 / 0.8443 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1665, allocations: 4 kB / 0.8443 GB, free: 12.29 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.665e-05/0.1666, allocations: 185.8 kB / 0.8444 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.1667, allocations: 120.8 kB / 0.8446 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.1668, allocations: 112.6 kB / 0.8447 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.968e-05/0.1668, allocations: 180.2 kB / 0.8448 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.689e-05/0.1669, allocations: 180.2 kB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.052e-05/0.167, allocations: 180.3 kB / 0.8452 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1672, allocations: 388.2 kB / 0.8456 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.1672, allocations: 109 kB / 0.8457 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.1673, allocations: 104.9 kB / 0.8458 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.946e-05/0.1674, allocations: 176.3 kB / 0.8459 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.1674, allocations: 184.2 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.127e-05/0.1675, allocations: 184.2 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.877e-05/0.1676, allocations: 176.3 kB / 0.8464 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.1677, allocations: 311.7 kB / 0.8467 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1678, allocations: 116.9 kB / 0.8469 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.1679, allocations: 180.2 kB / 0.847 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.1679, allocations: 101 kB / 0.8471 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.168, allocations: 184.2 kB / 0.8473 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.1681, allocations: 109 kB / 0.8474 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.1681, allocations: 99.27 kB / 0.8475 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1681, allocations: 0 / 0.8475 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006368/0.1688, allocations: 291 kB / 0.8478 GB, free: 8.488 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.001243/0.17, allocations: 1.174 MB / 0.8489 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.769e-05/0.1701, allocations: 41.69 kB / 0.849 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1701, allocations: 4.062 kB / 0.849 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.1701, allocations: 4 kB / 0.849 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1705, allocations: 459.7 kB / 0.8494 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1719, allocations: 1.596 MB / 0.851 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.668e-05/0.1719, allocations: 71.27 kB / 0.851 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.1719, allocations: 4 kB / 0.851 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.172, allocations: 15.47 kB / 0.8511 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.172, allocations: 0 / 0.8511 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.2067, allocations: 7.64 MB / 0.8585 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.22, allocations: 8 kB / 0.8585 GB, free: 13.54 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: 15.229306444060057] Failed to read output from testmodel.py, exit status != 0: 11.33454382326454 11.358486959 11.189845005 Calling exit ...