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.001292/0.001292, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001405/0.001405, allocations: 212 kB / 19.43 MB, free: 3.637 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.394/1.394, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 295.2 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.167/1.167, allocations: 180.9 MB / 0.5333 GB, free: 13.78 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002837/0.002837, allocations: 105.4 kB / 0.7343 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1596, allocations: 95.35 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002528/0.1621, allocations: 1.447 MB / 0.8288 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004593/0.1667, allocations: 2.94 MB / 0.8317 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.1667, allocations: 0 / 0.8317 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.1668, allocations: 3.938 kB / 0.8317 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.1668, allocations: 15.84 kB / 0.8317 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.1707, allocations: 1.627 MB / 0.8333 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.1708, allocations: 47.73 kB / 0.8334 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1708, allocations: 0 / 0.8334 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.697e-05/0.1709, allocations: 15.94 kB / 0.8334 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.1709, allocations: 23.84 kB / 0.8334 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1709, allocations: 0 / 0.8334 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.1733, allocations: 1.552 MB / 0.8349 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.1733, allocations: 0 / 0.8349 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1733, allocations: 19.88 kB / 0.8349 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.175, allocations: 1.107 MB / 0.836 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.175, allocations: 0 / 0.836 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.175, allocations: 0 / 0.836 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.175, allocations: 0 / 0.836 GB, free: 1.027 MB / 0.5762 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.000678/0.1756, allocations: 0.5363 MB / 0.8366 GB, free: 452 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1757, allocations: 12.03 kB / 0.8366 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.198e-05/0.1757, allocations: 106 kB / 0.8367 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.1758, allocations: 80.17 kB / 0.8367 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.176, allocations: 249.2 kB / 0.837 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.1761, allocations: 150.9 kB / 0.8371 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.1761, allocations: 158.9 kB / 0.8373 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.1762, allocations: 112.9 kB / 0.8374 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.1762, allocations: 79.28 kB / 0.8375 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.1763, allocations: 150.6 kB / 0.8376 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.1764, allocations: 150.6 kB / 0.8377 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.489e-05/0.1764, allocations: 150.6 kB / 0.8379 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1767, allocations: 469.9 kB / 0.8383 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.1768, allocations: 169.1 kB / 0.8385 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.1769, allocations: 88.08 kB / 0.8386 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.1769, allocations: 79.22 kB / 0.8387 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.177, allocations: 113.8 kB / 0.8388 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.177, allocations: 0 / 0.8388 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.803e-05/0.177, allocations: 33.66 kB / 0.8388 GB, free: 14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.1771, allocations: 134.6 kB / 0.8389 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1772, allocations: 127.4 kB / 0.839 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1773, allocations: 25.7 kB / 0.8391 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1773, allocations: 100.1 kB / 0.8392 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1773, allocations: 4 kB / 0.8392 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.1774, allocations: 17.7 kB / 0.8392 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1775, allocations: 314.8 kB / 0.8395 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.1775, allocations: 4 kB / 0.8395 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.1775, allocations: 4 kB / 0.8395 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.1776, allocations: 20.84 kB / 0.8395 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1776, allocations: 0 / 0.8395 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.1777, allocations: 53.58 kB / 0.8396 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1777, allocations: 4 kB / 0.8396 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.1777, allocations: 8.062 kB / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1777, allocations: 0 / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.1777, allocations: 0 / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1777, allocations: 7.922 kB / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.1778, allocations: 3.953 kB / 0.8396 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1778, allocations: 0 / 0.8396 GB, free: 13.13 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.0001013/0.1779, allocations: 185.1 kB / 0.8398 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1779, allocations: 108.9 kB / 0.8399 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.178, allocations: 116.6 kB / 0.84 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.824e-05/0.1781, allocations: 184.3 kB / 0.8402 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/0.1781, allocations: 184.2 kB / 0.8403 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.1782, allocations: 180.2 kB / 0.8405 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1785, allocations: 409.2 kB / 0.8409 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/0.1785, allocations: 112.9 kB / 0.841 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.1785, allocations: 109 kB / 0.8411 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.1786, allocations: 176.3 kB / 0.8413 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/0.1787, allocations: 184.2 kB / 0.8414 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.939e-05/0.1788, allocations: 180.3 kB / 0.8416 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-05/0.1788, allocations: 180.2 kB / 0.8418 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.179, allocations: 315.7 kB / 0.8421 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.1791, allocations: 190 kB / 0.8423 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.1791, allocations: 176.3 kB / 0.8424 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.1792, allocations: 104.9 kB / 0.8425 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.1793, allocations: 192.2 kB / 0.8427 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.1793, allocations: 104.9 kB / 0.8428 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.1794, allocations: 101.1 kB / 0.8429 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 0.8429 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007609/0.1802, allocations: 291 kB / 0.8432 GB, free: 9.207 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.001376/0.1816, allocations: 1.175 MB / 0.8443 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1817, allocations: 33.7 kB / 0.8444 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1817, allocations: 0 / 0.8444 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.1817, allocations: 3.938 kB / 0.8444 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1821, allocations: 471.7 kB / 0.8448 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1835, allocations: 1.603 MB / 0.8464 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1838, allocations: 0.6807 MB / 0.8471 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.222e-05/0.1838, allocations: 0 / 0.8471 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.1838, allocations: 23.42 kB / 0.8471 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.1838, allocations: 4.031 kB / 0.8471 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2153, allocations: 7.143 MB / 0.8541 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.336, allocations: 4.812 kB / 0.8541 GB, free: 14.17 MB / 0.6075 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 12.352895659860224] Failed to read output from testmodel.py, exit status != 0: 8.407063224818558 8.421099596 8.243235206 Calling exit ...