Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001373/0.001373, 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.001525/0.001525, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.824 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.002622/0.002622, allocations: 288.5 kB / 312.7 MB, free: 2.637 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.49 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [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.003053/0.003053, allocations: 102.1 kB / 0.7401 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1491, allocations: 95.39 MB / 0.8332 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002537/0.1516, allocations: 1.438 MB / 0.8346 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0046/0.1562, allocations: 2.668 MB / 0.8372 GB, free: 3.672 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.1563, allocations: 0 / 0.8372 GB, free: 3.672 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.1563, allocations: 7.922 kB / 0.8372 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.1564, allocations: 15.8 kB / 0.8373 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.1605, allocations: 1.655 MB / 0.8389 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1606, allocations: 43.73 kB / 0.8389 GB, free: 1.965 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1606, allocations: 4 kB / 0.8389 GB, free: 1.961 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.1607, allocations: 11.94 kB / 0.8389 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.1607, allocations: 19.86 kB / 0.8389 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1607, allocations: 4 kB / 0.8389 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.1631, allocations: 1.482 MB / 0.8404 GB, free: 452 kB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1631, allocations: 4 kB / 0.8404 GB, free: 448 kB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1632, allocations: 15.88 kB / 0.8404 GB, free: 432 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1648, allocations: 1.099 MB / 0.8415 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1648, allocations: 0 / 0.8415 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1648, allocations: 4 kB / 0.8415 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1648, allocations: 0 / 0.8415 GB, free: 15.32 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.0006285/0.1654, allocations: 472 kB / 0.8419 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1655, allocations: 16.61 kB / 0.842 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.1655, allocations: 84.17 kB / 0.842 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1657, allocations: 193.8 kB / 0.8422 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.1658, allocations: 150.9 kB / 0.8424 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.1658, allocations: 150.9 kB / 0.8425 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.1659, allocations: 105.1 kB / 0.8426 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/0.1659, allocations: 83.22 kB / 0.8427 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.166, allocations: 154.5 kB / 0.8428 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/0.1661, allocations: 154.6 kB / 0.843 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.1662, allocations: 154.6 kB / 0.8431 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1665, allocations: 413.6 kB / 0.8435 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1666, allocations: 169.1 kB / 0.8437 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.1666, allocations: 84.08 kB / 0.8438 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.1667, allocations: 75.28 kB / 0.8438 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.1667, allocations: 109.8 kB / 0.8439 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1667, allocations: 0 / 0.8439 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.765e-05/0.1668, allocations: 37.59 kB / 0.844 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.1669, allocations: 130.7 kB / 0.8441 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.167, allocations: 143.5 kB / 0.8442 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.167, allocations: 25.7 kB / 0.8443 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1671, allocations: 92.14 kB / 0.8444 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1671, allocations: 0 / 0.8444 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1671, allocations: 13.72 kB / 0.8444 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1673, allocations: 322.8 kB / 0.8447 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.1673, allocations: 7.938 kB / 0.8447 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.1673, allocations: 8 kB / 0.8447 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.1674, allocations: 12.8 kB / 0.8447 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1674, allocations: 0 / 0.8447 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001237/0.1675, allocations: 53.7 kB / 0.8448 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1675, allocations: 11.94 kB / 0.8448 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.1675, allocations: 4 kB / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1675, allocations: 0 / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1675, allocations: 0 / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1675, allocations: 0 / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.1676, allocations: 8 kB / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1676, allocations: 0 / 0.8448 GB, free: 11.77 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.0001179/0.1677, allocations: 193.7 kB / 0.845 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.1678, allocations: 108.9 kB / 0.8451 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.1678, allocations: 108.9 kB / 0.8452 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.454e-05/0.1679, allocations: 188.2 kB / 0.8453 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.873e-05/0.168, allocations: 184.3 kB / 0.8455 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.852e-05/0.1681, allocations: 184.2 kB / 0.8457 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1683, allocations: 360.9 kB / 0.846 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.1684, allocations: 104.9 kB / 0.8461 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.1684, allocations: 104.9 kB / 0.8462 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.916e-05/0.1685, allocations: 184.3 kB / 0.8464 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/0.1686, allocations: 188.1 kB / 0.8466 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.951e-05/0.1687, allocations: 176.3 kB / 0.8468 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.038e-05/0.1687, allocations: 180.3 kB / 0.8469 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1689, allocations: 311.7 kB / 0.8472 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.169, allocations: 124.8 kB / 0.8474 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.1691, allocations: 184.2 kB / 0.8475 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.1692, allocations: 101 kB / 0.8476 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.1693, allocations: 184.2 kB / 0.8478 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.1693, allocations: 105 kB / 0.8479 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.1694, allocations: 101.3 kB / 0.848 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1694, allocations: 0 / 0.848 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007589/0.1701, allocations: 295 kB / 0.8483 GB, free: 7.984 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.001067/0.1712, allocations: 0.5515 MB / 0.8488 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1713, allocations: 49.62 kB / 0.8489 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1713, allocations: 0 / 0.8489 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.1713, allocations: 352 / 0.8489 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1718, allocations: 455.7 kB / 0.8493 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1721, allocations: 244.7 kB / 0.8495 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.977e-05/0.1722, allocations: 71.59 kB / 0.8496 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1722, allocations: 3.938 kB / 0.8496 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.1722, allocations: 11.44 kB / 0.8496 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1722, allocations: 0 / 0.8496 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of Templates: time 0.01085/0.183, allocations: 5.926 MB / 0.8554 GB, free: 0.6758 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.293352998793125] Failed to read output from testmodel.py, exit status != 0: 0.19021938927471638 0.206754929 0.038725886 Calling exit ...