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.001835/0.001835, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002043/0.002043, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.003292/0.003292, allocations: 234 kB / 259.8 MB, free: 12.86 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 1.176/1.176, allocations: 138.5 MB / 454.7 MB, free: 1.469 MB / 362.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.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5544 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.077e-05/4.282e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003332/0.003375, allocations: 1.457 MB / 0.5559 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00628/0.009655, allocations: 2.83 MB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.009751, allocations: 3.938 kB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.009784, allocations: 7.984 kB / 0.5586 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.972e-05/0.009883, allocations: 15.81 kB / 0.5586 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.01458, allocations: 1.652 MB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.01469, allocations: 47.67 kB / 0.5603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.01472, allocations: 0 / 0.5603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.01477, allocations: 23.92 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.01479, allocations: 8 kB / 0.5603 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.01481, allocations: 0 / 0.5603 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.01754, allocations: 1.501 MB / 0.5618 GB, free: 9.168 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.01755, allocations: 0 / 0.5618 GB, free: 9.168 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.01758, allocations: 19.92 kB / 0.5618 GB, free: 9.148 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.01964, allocations: 1.274 MB / 0.5631 GB, free: 7.871 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01964, allocations: 0 / 0.5631 GB, free: 7.871 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01964, allocations: 0 / 0.5631 GB, free: 7.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.01965, allocations: 0 / 0.5631 GB, free: 7.871 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001015/0.02066, allocations: 0.5644 MB / 0.5636 GB, free: 7.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.0207, allocations: 8.031 kB / 0.5636 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.0208, allocations: 124.1 kB / 0.5637 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.021, allocations: 251.6 kB / 0.564 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.02112, allocations: 238.8 kB / 0.5642 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.02125, allocations: 242.8 kB / 0.5644 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.02136, allocations: 149.4 kB / 0.5646 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.02143, allocations: 119.4 kB / 0.5647 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.02156, allocations: 242.5 kB / 0.5649 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.02168, allocations: 242.4 kB / 0.5652 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.02181, allocations: 242.4 kB / 0.5654 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.02227, allocations: 0.5798 MB / 0.566 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.02245, allocations: 265.4 kB / 0.5662 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.02253, allocations: 130.9 kB / 0.5663 GB, free: 4.391 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.089e-05/0.0226, allocations: 127.2 kB / 0.5665 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.726e-05/0.02269, allocations: 160.5 kB / 0.5666 GB, free: 4.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.02269, allocations: 0 / 0.5666 GB, free: 4.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.97e-05/0.02278, allocations: 37.64 kB / 0.5666 GB, free: 4.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.02289, allocations: 174.5 kB / 0.5668 GB, free: 3.871 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.02309, allocations: 193.9 kB / 0.567 GB, free: 3.664 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.02311, allocations: 25.7 kB / 0.567 GB, free: 3.633 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.0232, allocations: 134.9 kB / 0.5671 GB, free: 3.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.02321, allocations: 0 / 0.5671 GB, free: 3.496 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.02326, allocations: 35.36 kB / 0.5672 GB, free: 3.453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.02353, allocations: 0.4884 MB / 0.5677 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.02355, allocations: 4 kB / 0.5677 GB, free: 2.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.02357, allocations: 7.984 kB / 0.5677 GB, free: 2.941 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.02362, allocations: 19.69 kB / 0.5677 GB, free: 2.918 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.02362, allocations: 0 / 0.5677 GB, free: 2.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/0.02376, allocations: 45.66 kB / 0.5677 GB, free: 2.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.02379, allocations: 6.969 kB / 0.5677 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.02381, allocations: 4 kB / 0.5677 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.02382, allocations: 0 / 0.5677 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-06/0.02383, allocations: 11.86 kB / 0.5678 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.02384, allocations: 3.984 kB / 0.5678 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.02387, allocations: 12.06 kB / 0.5678 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.02388, allocations: 3.984 kB / 0.5678 GB, free: 2.828 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 (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.0001776/0.02405, allocations: 271.8 kB / 0.568 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.02416, allocations: 152.8 kB / 0.5682 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.02425, allocations: 152.7 kB / 0.5683 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/0.0244, allocations: 272 kB / 0.5686 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001524/0.02456, allocations: 276 kB / 0.5688 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001437/0.0247, allocations: 268 kB / 0.5691 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.02505, allocations: 0.4921 MB / 0.5696 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.581e-05/0.02514, allocations: 148.8 kB / 0.5697 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.02522, allocations: 152.9 kB / 0.5699 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.02538, allocations: 272.2 kB / 0.5701 GB, free: 312 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/0.02575, allocations: 272 kB / 0.5704 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001612/0.02591, allocations: 264.1 kB / 0.5706 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001455/0.02606, allocations: 276 kB / 0.5709 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.02634, allocations: 451.9 kB / 0.5713 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.02643, allocations: 160.7 kB / 0.5715 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.02659, allocations: 264.1 kB / 0.5717 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.02671, allocations: 152.8 kB / 0.5719 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.02686, allocations: 272 kB / 0.5721 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.02693, allocations: 144.9 kB / 0.5723 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000114/0.02705, allocations: 155.1 kB / 0.5724 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02705, allocations: 0 / 0.5724 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008681/0.02792, allocations: 302.8 kB / 0.5727 GB, free: 13.56 MB / 0.4948 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.001282/0.0292, allocations: 0.6259 MB / 0.5733 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.02933, allocations: 57.38 kB / 0.5734 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02933, allocations: 0 / 0.5734 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.02933, allocations: 4 kB / 0.5734 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.02994, allocations: 0.7062 MB / 0.5741 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.03035, allocations: 276.3 kB / 0.5743 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.699e-05/0.03043, allocations: 71.33 kB / 0.5744 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.254e-05/0.03044, allocations: 4.062 kB / 0.5744 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.03046, allocations: 8.5 kB / 0.5744 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.03046, allocations: 0 / 0.5744 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.01254/0.043, allocations: 5.98 MB / 0.5803 GB, free: 5.816 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.235991653054953]