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.00172/0.00172, allocations: 102.9 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.001923/0.001923, allocations: 212.9 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.002471/0.002471, allocations: 292.9 kB / 309.1 MB, free: 3.965 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.18/1.18, allocations: 180.9 MB / 0.5333 GB, free: 13.73 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.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.002789/0.002789, allocations: 103.9 kB / 0.7343 GB, free: 28.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1523, allocations: 95.34 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002572/0.1549, allocations: 1.463 MB / 0.8289 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1595, allocations: 2.976 MB / 0.8318 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.1596, allocations: 0 / 0.8318 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.1596, allocations: 7.938 kB / 0.8318 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.1597, allocations: 19.78 kB / 0.8318 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.1634, allocations: 1.657 MB / 0.8334 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.1635, allocations: 43.67 kB / 0.8335 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.1636, allocations: 4 kB / 0.8335 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.1636, allocations: 15.94 kB / 0.8335 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.1636, allocations: 15.92 kB / 0.8335 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.784e-06/0.1636, allocations: 0 / 0.8335 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.1659, allocations: 1.603 MB / 0.8351 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.166, allocations: 11.94 kB / 0.8351 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.166, allocations: 19.86 kB / 0.8351 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1675, allocations: 1.126 MB / 0.8362 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1675, allocations: 4 kB / 0.8362 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1675, allocations: 0 / 0.8362 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1675, allocations: 0 / 0.8362 GB, free: 0.8789 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.0006559/0.1682, allocations: 0.5362 MB / 0.8367 GB, free: 300 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1682, allocations: 8.031 kB / 0.8367 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.1683, allocations: 114 kB / 0.8368 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.1683, allocations: 80.22 kB / 0.8369 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.1685, allocations: 255.5 kB / 0.8371 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.1686, allocations: 154.9 kB / 0.8373 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.1686, allocations: 154.9 kB / 0.8374 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.1687, allocations: 108.9 kB / 0.8375 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.1687, allocations: 83.28 kB / 0.8376 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.1688, allocations: 150.6 kB / 0.8378 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.1688, allocations: 150.6 kB / 0.8379 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.1689, allocations: 158.4 kB / 0.8381 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.1692, allocations: 461.9 kB / 0.8385 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1693, allocations: 177.1 kB / 0.8387 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.1694, allocations: 84.14 kB / 0.8388 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1694, allocations: 79.22 kB / 0.8388 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.1694, allocations: 113.8 kB / 0.8389 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1694, allocations: 0 / 0.8389 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.532e-05/0.1695, allocations: 37.59 kB / 0.839 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.1696, allocations: 130.7 kB / 0.8391 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1697, allocations: 135.5 kB / 0.8392 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1697, allocations: 25.7 kB / 0.8393 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.1698, allocations: 92.12 kB / 0.8393 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.1698, allocations: 0 / 0.8393 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1698, allocations: 17.72 kB / 0.8394 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.17, allocations: 322.8 kB / 0.8397 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.17, allocations: 4 kB / 0.8397 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.17, allocations: 4 kB / 0.8397 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.17, allocations: 16.86 kB / 0.8397 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.17, allocations: 0 / 0.8397 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000129/0.1702, allocations: 57.52 kB / 0.8397 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1702, allocations: 8 kB / 0.8397 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1702, allocations: 4 kB / 0.8398 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1702, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1702, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1702, allocations: 4.062 kB / 0.8398 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1702, allocations: 0 / 0.8398 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1702, allocations: 4 kB / 0.8398 GB, free: 12.97 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.273e-05/0.1703, allocations: 181.1 kB / 0.8399 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.1704, allocations: 120.8 kB / 0.84 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.1704, allocations: 108.8 kB / 0.8402 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.935e-05/0.1705, allocations: 176.3 kB / 0.8403 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.072e-05/0.1706, allocations: 188.2 kB / 0.8405 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.1707, allocations: 176.3 kB / 0.8407 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1709, allocations: 425.1 kB / 0.8411 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.106e-05/0.171, allocations: 101 kB / 0.8412 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.171, allocations: 105 kB / 0.8413 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.1711, allocations: 184.2 kB / 0.8414 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.1711, allocations: 188.3 kB / 0.8416 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.879e-05/0.1712, allocations: 184.1 kB / 0.8418 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.148e-05/0.1713, allocations: 180.2 kB / 0.842 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1714, allocations: 315.7 kB / 0.8423 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.1715, allocations: 186 kB / 0.8425 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.1716, allocations: 188.1 kB / 0.8426 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.1717, allocations: 105 kB / 0.8427 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.1717, allocations: 176.3 kB / 0.8429 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.1718, allocations: 104.9 kB / 0.843 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.1719, allocations: 108.5 kB / 0.8431 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1719, allocations: 0 / 0.8431 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007485/0.1726, allocations: 295 kB / 0.8434 GB, free: 9.031 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.001395/0.174, allocations: 1.19 MB / 0.8445 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.875e-05/0.1741, allocations: 41.64 kB / 0.8446 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1741, allocations: 0 / 0.8446 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.1741, allocations: 4 kB / 0.8446 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1745, allocations: 463.8 kB / 0.845 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.176, allocations: 1.619 MB / 0.8466 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1762, allocations: 0.6807 MB / 0.8473 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.31e-05/0.1763, allocations: 0 / 0.8473 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1763, allocations: 19.42 kB / 0.8473 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1763, allocations: 0 / 0.8473 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.2068, allocations: 7.361 MB / 0.8545 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.083/8.29, allocations: 6.625 kB / 0.8545 GB, free: 13.75 MB / 0.6075 GB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 12.325009794905782] Failed to read output from testmodel.py, exit status != 0: 8.36060365429148 8.381345842 8.210013153 Calling exit ...