Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001755/0.001755, 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.002281/0.002281, allocations: 210.5 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.773 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.002609/0.002609, allocations: 282.8 kB / 312.7 MB, free: 2.566 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.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.003183/0.003183, allocations: 108.2 kB / 0.7401 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1503, allocations: 95.38 MB / 0.8332 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002701/0.153, allocations: 1.44 MB / 0.8346 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.1577, allocations: 2.617 MB / 0.8372 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.1577, allocations: 7.938 kB / 0.8372 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.1577, allocations: 7.922 kB / 0.8372 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.1578, allocations: 11.86 kB / 0.8372 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.162, allocations: 1.635 MB / 0.8388 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.1621, allocations: 43.73 kB / 0.8388 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.1622, allocations: 0 / 0.8388 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.1622, allocations: 11.94 kB / 0.8388 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1622, allocations: 15.92 kB / 0.8389 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1622, allocations: 0 / 0.8389 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.1648, allocations: 1.451 MB / 0.8403 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1648, allocations: 11.91 kB / 0.8403 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.1648, allocations: 11.94 kB / 0.8403 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.1666, allocations: 1.075 MB / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1666, allocations: 3.984 kB / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1666, allocations: 0 / 0.8414 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1666, allocations: 0 / 0.8414 GB, free: 15.41 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.0006815/0.1673, allocations: 472 kB / 0.8418 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1673, allocations: 13.22 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/0.1674, allocations: 76.22 kB / 0.8419 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1676, allocations: 195.5 kB / 0.8421 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.1676, allocations: 150.9 kB / 0.8422 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.1677, allocations: 150.9 kB / 0.8424 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.1678, allocations: 113.1 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.1678, allocations: 79.28 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/0.1679, allocations: 150.6 kB / 0.8427 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.168, allocations: 154.6 kB / 0.8428 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.168, allocations: 154.5 kB / 0.843 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1683, allocations: 417.5 kB / 0.8434 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1685, allocations: 169.1 kB / 0.8435 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.1685, allocations: 80.14 kB / 0.8436 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1685, allocations: 75.28 kB / 0.8437 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.1686, allocations: 113.8 kB / 0.8438 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1686, allocations: 3.938 kB / 0.8438 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.899e-05/0.1687, allocations: 37.64 kB / 0.8438 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.1687, allocations: 126.7 kB / 0.844 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1689, allocations: 133.8 kB / 0.8441 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1689, allocations: 29.64 kB / 0.8441 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.169, allocations: 92.14 kB / 0.8442 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.169, allocations: 0 / 0.8442 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.169, allocations: 17.7 kB / 0.8442 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1691, allocations: 314.9 kB / 0.8445 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.1692, allocations: 8 kB / 0.8445 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.1692, allocations: 4 kB / 0.8445 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.1692, allocations: 20.78 kB / 0.8446 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1692, allocations: 4.031 kB / 0.8446 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.1694, allocations: 45.66 kB / 0.8446 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1694, allocations: 10.28 kB / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1694, allocations: 4 kB / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1694, allocations: 0 / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1694, allocations: 3.938 kB / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1694, allocations: 3.984 kB / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.1694, allocations: 0 / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1694, allocations: 4 kB / 0.8446 GB, free: 11.88 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.0001162/0.1696, allocations: 185.8 kB / 0.8448 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.1696, allocations: 120.8 kB / 0.8449 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1697, allocations: 108.8 kB / 0.845 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.681e-05/0.1698, allocations: 180.2 kB / 0.8452 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-05/0.1699, allocations: 184.2 kB / 0.8454 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/0.1699, allocations: 180.3 kB / 0.8455 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1702, allocations: 364.8 kB / 0.8459 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/0.1702, allocations: 105 kB / 0.846 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.1703, allocations: 101 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.309e-05/0.1704, allocations: 188.2 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.1705, allocations: 184.2 kB / 0.8464 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.419e-05/0.1705, allocations: 184.2 kB / 0.8466 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.272e-05/0.1706, allocations: 176.3 kB / 0.8468 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1708, allocations: 311.8 kB / 0.8471 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1709, allocations: 108.9 kB / 0.8472 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.171, allocations: 188.1 kB / 0.8474 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1711, allocations: 101 kB / 0.8475 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.1711, allocations: 188.2 kB / 0.8476 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.1712, allocations: 101 kB / 0.8477 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.1713, allocations: 99.27 kB / 0.8478 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1713, allocations: 0 / 0.8478 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007802/0.1721, allocations: 291 kB / 0.8481 GB, free: 8.113 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.001218/0.1733, allocations: 0.5363 MB / 0.8486 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1734, allocations: 33.64 kB / 0.8487 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1734, allocations: 4 kB / 0.8487 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-06/0.1734, allocations: 3.938 kB / 0.8487 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1739, allocations: 463.7 kB / 0.8491 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.1743, allocations: 247.2 kB / 0.8494 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.832e-05/0.1744, allocations: 67.33 kB / 0.8494 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1744, allocations: 0 / 0.8494 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.1744, allocations: 15.38 kB / 0.8494 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.1744, allocations: 0 / 0.8494 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of Templates: time 0.01252/0.187, allocations: 5.752 MB / 0.8551 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.254521355032921] Failed to read output from testmodel.py, exit status != 0: 0.19596643932163715 0.21043166500000002 0.040661566 Calling exit ...