Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.000799/0.000799, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007809/0.0007809, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8594/0.8594, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001412/0.001412, allocations: 224 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.6816/0.6816, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.7 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6476 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.053e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.2481/0.2482, allocations: 3.785 MB / 0.6513 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2504, allocations: 2.225 MB / 0.6534 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.2506, allocations: 10.47 kB / 0.6535 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.2517, allocations: 0.4914 MB / 0.6539 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.252, allocations: 271 kB / 0.6542 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2521, allocations: 138.5 kB / 0.6543 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.2527, allocations: 0.8476 MB / 0.6552 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.2529, allocations: 213.9 kB / 0.6554 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.2534, allocations: 465.1 kB / 0.6558 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2536, allocations: 238.8 kB / 0.656 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.2536, allocations: 74.47 kB / 0.6561 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.2537, allocations: 74.62 kB / 0.6562 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2538, allocations: 177.2 kB / 0.6563 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.254, allocations: 262.7 kB / 0.6566 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.2548, allocations: 0.9952 MB / 0.6576 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2548, allocations: 0.8438 kB / 0.6576 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2548, allocations: 1.969 kB / 0.6576 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.2548, allocations: 2.219 kB / 0.6576 GB, free: 52.38 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.000967/0.2557, allocations: 0.8854 MB / 0.6584 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2558, allocations: 12.62 kB / 0.6584 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.2559, allocations: 76.22 kB / 0.6585 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2564, allocations: 402 kB / 0.6589 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2564, allocations: 43.72 kB / 0.6589 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.2565, allocations: 47.61 kB / 0.659 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.257, allocations: 430.2 kB / 0.6594 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.257, allocations: 0.8438 kB / 0.6594 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.2571, allocations: 20.28 kB / 0.6594 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2571, allocations: 16.62 kB / 0.6594 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.2576, allocations: 364.3 kB / 0.6598 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.259, allocations: 1.166 MB / 0.6609 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.2594, allocations: 311.4 kB / 0.6612 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.2597, allocations: 290.9 kB / 0.6615 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2597, allocations: 10.09 kB / 0.6615 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2597, allocations: 36.47 kB / 0.6615 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 3.406e-06/0.2597, allocations: 0 / 0.6615 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.0006526/0.2604, allocations: 493.3 kB / 0.662 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.2604, allocations: 64.81 kB / 0.6621 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.2608, allocations: 438.2 kB / 0.6625 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2608, allocations: 39.64 kB / 0.6625 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2609, allocations: 277.3 kB / 0.6628 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.261, allocations: 154.5 kB / 0.6629 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.2611, allocations: 61.75 kB / 0.663 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2611, allocations: 360.5 kB / 0.6633 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2613, allocations: 121.1 kB / 0.6635 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2614, allocations: 130.1 kB / 0.6636 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.2618, allocations: 298.1 kB / 0.6639 GB, free: 48.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2618, allocations: 4 kB / 0.6639 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000434/0.2622, allocations: 397.8 kB / 0.6643 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2622, allocations: 6.062 kB / 0.6643 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2622, allocations: 1.531 kB / 0.6643 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2623, allocations: 1.812 kB / 0.6643 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.2626, allocations: 127.8 kB / 0.6644 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2626, allocations: 1.969 kB / 0.6644 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.2627, allocations: 30.81 kB / 0.6644 GB, free: 48.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.2627, allocations: 11.06 kB / 0.6644 GB, free: 48.4 MB / 0.5573 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.000139/0.2628, allocations: 198.1 kB / 0.6646 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.2629, allocations: 48.94 kB / 0.6647 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.2629, allocations: 55.89 kB / 0.6647 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2629, allocations: 6.422 kB / 0.6647 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.263, allocations: 5.5 kB / 0.6647 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.263, allocations: 1.828 kB / 0.6647 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.2633, allocations: 424.5 kB / 0.6651 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2634, allocations: 6.562 kB / 0.6651 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2637, allocations: 125.3 kB / 0.6653 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2637, allocations: 2.281 kB / 0.6653 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2637, allocations: 8.094 kB / 0.6653 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2637, allocations: 1.719 kB / 0.6653 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2637, allocations: 0.75 kB / 0.6653 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.2643, allocations: 0.655 MB / 0.6659 GB, free: 47.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2644, allocations: 52.92 kB / 0.666 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2644, allocations: 8.047 kB / 0.666 GB, free: 47.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2645, allocations: 15.52 kB / 0.666 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.2646, allocations: 24.33 kB / 0.666 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2646, allocations: 12.95 kB / 0.666 GB, free: 47.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002487/0.2649, allocations: 318.4 kB / 0.6663 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2649, allocations: 1.688 kB / 0.6663 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002791/0.2651, allocations: 151.8 kB / 0.6665 GB, free: 47.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001271/0.2653, allocations: 113.8 kB / 0.6666 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2657, allocations: 303.3 kB / 0.6669 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2657, allocations: 0 / 0.6669 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.2659, allocations: 166.3 kB / 0.667 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2663, allocations: 96.55 kB / 0.6671 GB, free: 47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2675, allocations: 1.132 MB / 0.6682 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2677, allocations: 271.8 kB / 0.6685 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.2678, allocations: 35.56 kB / 0.6685 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/0.2678, allocations: 0 / 0.6685 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.006618/0.2744, allocations: 6.742 MB / 0.6751 GB, free: 45.44 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.577651012688875] Failed to read output from testmodel.py, exit status != 0: 0.2800109712406993 0.28853270299999995 0.031874724 Calling exit ...