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.001437/0.001437, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001634/0.001634, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 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.002735/0.002735, allocations: 292.7 kB / 312.7 MB, free: 2.594 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.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.003073/0.003073, allocations: 104.5 kB / 0.7401 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1468, allocations: 95.38 MB / 0.8332 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00251/0.1493, allocations: 1.44 MB / 0.8346 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.1539, allocations: 2.629 MB / 0.8372 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.1539, allocations: 0 / 0.8372 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.1539, allocations: 7.922 kB / 0.8372 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.154, allocations: 11.86 kB / 0.8372 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.1584, allocations: 1.637 MB / 0.8388 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1585, allocations: 43.67 kB / 0.8388 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1585, allocations: 0 / 0.8388 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.1586, allocations: 19.94 kB / 0.8389 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.1586, allocations: 19.91 kB / 0.8389 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1586, allocations: 4 kB / 0.8389 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.161, allocations: 1.439 MB / 0.8403 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.161, allocations: 7.922 kB / 0.8403 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1611, allocations: 15.94 kB / 0.8403 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1628, allocations: 1.075 MB / 0.8414 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1628, allocations: 0 / 0.8414 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1628, allocations: 3.938 kB / 0.8414 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.1628, allocations: 0 / 0.8414 GB, free: 15.42 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.0006687/0.1634, allocations: 464.1 kB / 0.8418 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1635, allocations: 13.22 kB / 0.8418 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.1636, allocations: 84.16 kB / 0.8419 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1637, allocations: 193.7 kB / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.1638, allocations: 154.9 kB / 0.8422 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.1639, allocations: 154.9 kB / 0.8424 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.908e-05/0.1639, allocations: 105.1 kB / 0.8425 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.164, allocations: 75.28 kB / 0.8425 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.164, allocations: 154.5 kB / 0.8427 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.459e-05/0.1641, allocations: 154.6 kB / 0.8428 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.1642, allocations: 150.6 kB / 0.843 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.1645, allocations: 417.5 kB / 0.8434 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.1646, allocations: 165.1 kB / 0.8435 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/0.1646, allocations: 84.14 kB / 0.8436 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.1646, allocations: 83.2 kB / 0.8437 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.1647, allocations: 109.8 kB / 0.8438 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1647, allocations: 0 / 0.8438 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.1648, allocations: 33.64 kB / 0.8438 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.1648, allocations: 126.7 kB / 0.844 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.165, allocations: 131.5 kB / 0.8441 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.165, allocations: 25.7 kB / 0.8441 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1651, allocations: 96.12 kB / 0.8442 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1651, allocations: 4 kB / 0.8442 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1651, allocations: 17.7 kB / 0.8442 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1652, allocations: 318.9 kB / 0.8445 GB, free: 12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.1653, allocations: 8 kB / 0.8445 GB, free: 12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.1653, allocations: 11.88 kB / 0.8445 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.1653, allocations: 16.84 kB / 0.8446 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1653, allocations: 0 / 0.8446 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001209/0.1654, allocations: 45.66 kB / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1655, allocations: 11.94 kB / 0.8446 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.1655, allocations: 0 / 0.8446 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1655, allocations: 8.047 kB / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1655, allocations: 0 / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1655, allocations: 4 kB / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.1655, allocations: 0 / 0.8446 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1655, allocations: 0 / 0.8446 GB, free: 11.89 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.000119/0.1657, allocations: 185.8 kB / 0.8448 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.1657, allocations: 116.8 kB / 0.8449 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.1658, allocations: 112.8 kB / 0.845 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.033e-05/0.1659, allocations: 188.2 kB / 0.8452 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.866e-05/0.1659, allocations: 180.3 kB / 0.8454 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-05/0.166, allocations: 180.3 kB / 0.8455 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1663, allocations: 368.8 kB / 0.8459 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.1663, allocations: 101 kB / 0.846 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.1664, allocations: 112.9 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.491e-05/0.1664, allocations: 180.3 kB / 0.8463 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/0.1665, allocations: 180.2 kB / 0.8464 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.692e-05/0.1666, allocations: 180.2 kB / 0.8466 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.673e-05/0.1667, allocations: 180.3 kB / 0.8468 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1668, allocations: 307.8 kB / 0.8471 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1669, allocations: 112.9 kB / 0.8472 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.167, allocations: 192.2 kB / 0.8474 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.1671, allocations: 105 kB / 0.8475 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.1671, allocations: 184.2 kB / 0.8477 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.1672, allocations: 105 kB / 0.8478 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.1673, allocations: 97.61 kB / 0.8478 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1673, allocations: 0 / 0.8478 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007686/0.168, allocations: 291 kB / 0.8481 GB, free: 8.121 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.001185/0.1692, allocations: 0.5257 MB / 0.8486 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1693, allocations: 49.62 kB / 0.8487 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1693, allocations: 0 / 0.8487 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.1693, allocations: 0 / 0.8487 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1698, allocations: 463.7 kB / 0.8491 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1701, allocations: 245 kB / 0.8494 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.1702, allocations: 71.27 kB / 0.8494 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.1702, allocations: 4.062 kB / 0.8494 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.1702, allocations: 7.438 kB / 0.8494 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1702, allocations: 4 kB / 0.8494 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of Templates: time 0.01117/0.1814, allocations: 5.757 MB / 0.8551 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.270917374640703] Failed to read output from testmodel.py, exit status != 0: 0.18911769054830074 0.20527193700000002 0.039265778 Calling exit ...