Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0008407/0.0008407, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0008773/0.0008773, allocations: 169 kB / 23.27 MB, free: 1.223 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.8763/0.8763, allocations: 177.2 MB / 203.7 MB, free: 5.48 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.001675/0.001675, allocations: 233.6 kB / 260.5 MB, free: 12.64 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.6715/0.6715, allocations: 138.4 MB / 455.5 MB, free: 29.98 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.152e-05, allocations: 10.11 kB / 0.5556 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002823/0.002835, allocations: 3.056 MB / 0.5586 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004508, allocations: 2.109 MB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004628, allocations: 11.94 kB / 0.5607 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.005455, allocations: 461.6 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.005609, allocations: 154.8 kB / 0.5613 GB, free: 9.969 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.563e-05/0.005685, allocations: 63.92 kB / 0.5613 GB, free: 9.906 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.005989, allocations: 469.5 kB / 0.5618 GB, free: 9.445 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.006131, allocations: 103.8 kB / 0.5619 GB, free: 9.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.006353, allocations: 247.4 kB / 0.5621 GB, free: 9.098 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006492, allocations: 139.5 kB / 0.5623 GB, free: 8.961 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.006524, allocations: 36 kB / 0.5623 GB, free: 8.926 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.006561, allocations: 36 kB / 0.5623 GB, free: 8.891 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-05/0.006636, allocations: 103.7 kB / 0.5624 GB, free: 8.789 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.006727, allocations: 139.6 kB / 0.5626 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.006952, allocations: 294.9 kB / 0.5628 GB, free: 8.363 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.006953, allocations: 0 / 0.5628 GB, free: 8.363 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006954, allocations: 0 / 0.5628 GB, free: 8.363 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.006957, allocations: 0 / 0.5628 GB, free: 8.363 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008334/0.007791, allocations: 0.7561 MB / 0.5636 GB, free: 7.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.00782, allocations: 13.22 kB / 0.5636 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.007877, allocations: 68.66 kB / 0.5637 GB, free: 7.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.008104, allocations: 290.8 kB / 0.5639 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.008116, allocations: 16.88 kB / 0.5639 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.008141, allocations: 24.33 kB / 0.564 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.0083, allocations: 149.3 kB / 0.5641 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.008309, allocations: 192 / 0.5641 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.008323, allocations: 16.38 kB / 0.5641 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.008329, allocations: 7.938 kB / 0.5641 GB, free: 6.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.008409, allocations: 65.38 kB / 0.5642 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.008962, allocations: 0.6205 MB / 0.5648 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.009066, allocations: 99.09 kB / 0.5649 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.009122, allocations: 51.66 kB / 0.5649 GB, free: 6.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.00913, allocations: 8 kB / 0.565 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.009146, allocations: 41.31 kB / 0.565 GB, free: 6.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.009147, allocations: 0 / 0.565 GB, free: 6.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001836/0.009331, allocations: 148.5 kB / 0.5651 GB, free: 5.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.009351, allocations: 55.41 kB / 0.5652 GB, free: 5.816 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.009591, allocations: 430.6 kB / 0.5656 GB, free: 5.379 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.009604, allocations: 33.7 kB / 0.5656 GB, free: 5.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.009713, allocations: 275 kB / 0.5659 GB, free: 5.066 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.009752, allocations: 67.42 kB / 0.566 GB, free: 5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.009791, allocations: 43.34 kB / 0.566 GB, free: 4.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.009914, allocations: 0.5351 MB / 0.5665 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.009939, allocations: 19.98 kB / 0.5665 GB, free: 4.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.009961, allocations: 25.98 kB / 0.5666 GB, free: 4.359 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.093e-05/0.01002, allocations: 55.67 kB / 0.5666 GB, free: 4.301 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01002, allocations: 3.984 kB / 0.5666 GB, free: 4.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001112/0.01014, allocations: 136.2 kB / 0.5668 GB, free: 4.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.01015, allocations: 8 kB / 0.5668 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.01015, allocations: 0 / 0.5668 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.01016, allocations: 0 / 0.5668 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01028, allocations: 55.91 kB / 0.5668 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.01029, allocations: 0 / 0.5668 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.01034, allocations: 19.88 kB / 0.5668 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01035, allocations: 8 kB / 0.5668 GB, free: 4.07 MB / 490.7 MB 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 (20): * Single equations (assignments): 20 * 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 7.442e-05/0.01042, allocations: 164.5 kB / 0.567 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01045, allocations: 35.77 kB / 0.567 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.01049, allocations: 39.41 kB / 0.5671 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01049, allocations: 3.938 kB / 0.5671 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01049, allocations: 0 / 0.5671 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.0105, allocations: 0 / 0.5671 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01068, allocations: 248.9 kB / 0.5673 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01068, allocations: 4 kB / 0.5673 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01079, allocations: 51.97 kB / 0.5674 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.0108, allocations: 0 / 0.5674 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01081, allocations: 4 kB / 0.5674 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.01081, allocations: 0 / 0.5674 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01081, allocations: 8 kB / 0.5674 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.011, allocations: 319.4 kB / 0.5677 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.01103, allocations: 31.81 kB / 0.5677 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01105, allocations: 4 kB / 0.5677 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.01112, allocations: 7.984 kB / 0.5677 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.01114, allocations: 11.98 kB / 0.5677 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.01114, allocations: 8.031 kB / 0.5677 GB, free: 3.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.01127, allocations: 275 kB / 0.568 GB, free: 2.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 0 / 0.568 GB, free: 2.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.01145, allocations: 79.78 kB / 0.5681 GB, free: 2.746 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 6.37e-05/0.01151, allocations: 103.2 kB / 0.5682 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.401e-05/0.01161, allocations: 75.56 kB / 0.5683 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.91e-07/0.01161, allocations: 0 / 0.5683 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.01165, allocations: 54.48 kB / 0.5683 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.01192, allocations: 95.61 kB / 0.5684 GB, free: 2.418 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.01266, allocations: 0.6505 MB / 0.569 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.01271, allocations: 100.3 kB / 0.5691 GB, free: 1.621 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.01277, allocations: 26.97 kB / 0.5692 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.01289, allocations: 142.2 kB / 0.5693 GB, free: 1.453 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01289, allocations: 0 / 0.5693 GB, free: 1.453 MB / 490.7 MB Notification: Performance of Templates: time 0.005531/0.01842, allocations: 3.971 MB / 0.5732 GB, free: 13.66 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3231765469536185]