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.001824/0.001824, 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.001993/0.001993, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.003249/0.003249, allocations: 242.2 kB / 259.8 MB, free: 12.88 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.181/1.181, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.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.352e-06/1.352e-06, allocations: 0 / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.183e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006338/0.00636, allocations: 4.2 MB / 0.5585 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.01024, allocations: 2.402 MB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.01046, allocations: 8 kB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.01213, allocations: 0.4933 MB / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.01263, allocations: 265.8 kB / 0.5616 GB, free: 9.398 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.01287, allocations: 139.8 kB / 0.5617 GB, free: 9.262 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009842/0.01385, allocations: 0.8405 MB / 0.5625 GB, free: 8.418 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.01424, allocations: 223 kB / 0.5627 GB, free: 8.195 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006492/0.01489, allocations: 467 kB / 0.5632 GB, free: 7.738 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.01529, allocations: 255.2 kB / 0.5634 GB, free: 7.488 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.01541, allocations: 72 kB / 0.5635 GB, free: 7.418 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.01554, allocations: 76 kB / 0.5636 GB, free: 7.344 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.01575, allocations: 175.4 kB / 0.5637 GB, free: 7.172 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.01608, allocations: 267.4 kB / 0.564 GB, free: 6.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.01726, allocations: 0.993 MB / 0.565 GB, free: 5.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01726, allocations: 0 / 0.565 GB, free: 5.914 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01726, allocations: 0 / 0.565 GB, free: 5.914 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.01727, allocations: 0 / 0.565 GB, free: 5.914 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001771/0.01904, allocations: 1.075 MB / 0.566 GB, free: 4.797 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.01907, allocations: 8.031 kB / 0.566 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.01926, allocations: 112.5 kB / 0.5661 GB, free: 4.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.01993, allocations: 402.3 kB / 0.5665 GB, free: 4.262 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.01997, allocations: 37.38 kB / 0.5665 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.02006, allocations: 52.33 kB / 0.5666 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.02085, allocations: 407 kB / 0.567 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.02087, allocations: 192 / 0.567 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.02091, allocations: 24.38 kB / 0.567 GB, free: 3.746 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.02093, allocations: 15.94 kB / 0.567 GB, free: 3.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.02166, allocations: 343.8 kB / 0.5674 GB, free: 3.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.02446, allocations: 1.567 MB / 0.5689 GB, free: 1.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.02504, allocations: 316 kB / 0.5692 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.02557, allocations: 284.1 kB / 0.5695 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.0256, allocations: 4 kB / 0.5695 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.02564, allocations: 41.39 kB / 0.5695 GB, free: 1.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.02564, allocations: 0 / 0.5695 GB, free: 1.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.001007/0.02665, allocations: 494.5 kB / 0.57 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.0267, allocations: 59.34 kB / 0.57 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.02742, allocations: 0.5495 MB / 0.5706 GB, free: 0 / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.02748, allocations: 37.7 kB / 0.5706 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.02779, allocations: 355.2 kB / 0.5709 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.02797, allocations: 166.6 kB / 0.5711 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.02811, allocations: 79.73 kB / 0.5712 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003855/0.02849, allocations: 0.5743 MB / 0.5717 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.02874, allocations: 112.7 kB / 0.5718 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.02897, allocations: 119.7 kB / 0.572 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.02954, allocations: 300.8 kB / 0.5722 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02954, allocations: 0 / 0.5722 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007074/0.03025, allocations: 396.5 kB / 0.5726 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.03026, allocations: 4 kB / 0.5726 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.03027, allocations: 4 kB / 0.5726 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.03029, allocations: 0 / 0.5726 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.03082, allocations: 127.8 kB / 0.5728 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.03083, allocations: 4 kB / 0.5728 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.03102, allocations: 27.84 kB / 0.5728 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.03104, allocations: 8 kB / 0.5728 GB, free: 13.68 MB / 0.4948 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.0002711/0.03132, allocations: 224.5 kB / 0.573 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.03142, allocations: 59.72 kB / 0.5731 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.03156, allocations: 60.86 kB / 0.5731 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.03156, allocations: 4 kB / 0.5731 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.03157, allocations: 3.938 kB / 0.5731 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03158, allocations: 4 kB / 0.5731 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/0.0324, allocations: 0.5509 MB / 0.5737 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0324, allocations: 4 kB / 0.5737 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.03295, allocations: 135.7 kB / 0.5738 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.03295, allocations: 0 / 0.5738 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.03298, allocations: 12 kB / 0.5738 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.03298, allocations: 0 / 0.5738 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.03298, allocations: 0 / 0.5738 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.0341, allocations: 0.6905 MB / 0.5745 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.0342, allocations: 59.64 kB / 0.5745 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.03426, allocations: 8 kB / 0.5746 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.03445, allocations: 8 kB / 0.5746 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.03453, allocations: 27.89 kB / 0.5746 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.03455, allocations: 12 kB / 0.5746 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004406/0.03499, allocations: 363 kB / 0.5749 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03499, allocations: 0 / 0.5749 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006858/0.03568, allocations: 151.6 kB / 0.5751 GB, free: 11.26 MB / 0.4948 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.000171/0.03585, allocations: 119.1 kB / 0.5752 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.03648, allocations: 315.3 kB / 0.5755 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.03648, allocations: 0 / 0.5755 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.0368, allocations: 191.6 kB / 0.5757 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.03741, allocations: 108.5 kB / 0.5758 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.03941, allocations: 1.109 MB / 0.5769 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.03974, allocations: 275.2 kB / 0.5771 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.03991, allocations: 47.36 kB / 0.5772 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.04002, allocations: 32.5 kB / 0.5772 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.04003, allocations: 0 / 0.5772 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of Templates: time 0.01202/0.05204, allocations: 4.987 MB / 0.5821 GB, free: 4.164 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.888658756040968]