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.0009178/0.0009178, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001004/0.001004, allocations: 177 kB / 23.36 MB, free: 1.125 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.9572/0.9572, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.002661/0.002661, allocations: 242.6 kB / 260.5 MB, free: 12.68 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.7094/0.7094, allocations: 138.4 MB / 402.2 MB, free: 0.5 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.804e-06/1.804e-06, allocations: 0 / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.7e-05, allocations: 5.188 kB / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006569/0.006596, allocations: 4.196 MB / 466.6 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.01131, allocations: 2.454 MB / 469.1 MB, free: 11.92 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.0118, allocations: 8.531 kB / 469.1 MB, free: 11.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.01368, allocations: 0.5189 MB / 469.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007546/0.01444, allocations: 265.9 kB / 469.9 MB, free: 11.13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.01474, allocations: 143.8 kB / 470 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.01579, allocations: 0.849 MB / 470.8 MB, free: 10.14 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.01623, allocations: 217.8 kB / 471.1 MB, free: 9.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.01726, allocations: 463 kB / 471.5 MB, free: 9.477 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.01772, allocations: 252.3 kB / 471.8 MB, free: 9.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.01784, allocations: 76 kB / 471.8 MB, free: 9.156 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.01796, allocations: 77.81 kB / 471.9 MB, free: 9.082 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.01812, allocations: 175.4 kB / 472.1 MB, free: 8.91 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.01843, allocations: 263.4 kB / 472.3 MB, free: 8.652 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.01913, allocations: 0.5099 MB / 472.8 MB, free: 8.141 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01913, allocations: 0 / 472.8 MB, free: 8.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01913, allocations: 0.7188 kB / 472.8 MB, free: 8.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.01915, allocations: 0 / 472.8 MB, free: 8.141 MB / 426.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.001335/0.02048, allocations: 0.861 MB / 473.7 MB, free: 7.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.02052, allocations: 8.031 kB / 473.7 MB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.02066, allocations: 88.86 kB / 473.8 MB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.02118, allocations: 304.6 kB / 474.1 MB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.02122, allocations: 29.38 kB / 474.1 MB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.02129, allocations: 48.38 kB / 474.2 MB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.0218, allocations: 296.9 kB / 474.5 MB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.02182, allocations: 192 / 474.5 MB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.02186, allocations: 20.38 kB / 474.5 MB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.02187, allocations: 16.69 kB / 474.5 MB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.02218, allocations: 130.9 kB / 474.6 MB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.0238, allocations: 0.853 MB / 475.5 MB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.02409, allocations: 166.6 kB / 475.6 MB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.02434, allocations: 156.8 kB / 475.8 MB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.02436, allocations: 9.344 kB / 475.8 MB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.02439, allocations: 34.56 kB / 475.8 MB, free: 5.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 3.126e-06/0.0244, allocations: 0 / 475.8 MB, free: 5.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004578/0.02485, allocations: 221 kB / 476.1 MB, free: 4.852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.0249, allocations: 63.19 kB / 476.1 MB, free: 4.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.02526, allocations: 355.2 kB / 476.5 MB, free: 4.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.02528, allocations: 31.67 kB / 476.5 MB, free: 4.387 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.02543, allocations: 229.5 kB / 476.7 MB, free: 4.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.02555, allocations: 154.6 kB / 476.9 MB, free: 4.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.02566, allocations: 62.05 kB / 476.9 MB, free: 3.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.02579, allocations: 362.7 kB / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.02588, allocations: 38.98 kB / 477.3 MB, free: 3.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.02597, allocations: 37.48 kB / 477.4 MB, free: 3.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.02619, allocations: 138.5 kB / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02619, allocations: 0 / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003101/0.0265, allocations: 181.1 kB / 477.7 MB, free: 3.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.02652, allocations: 8 kB / 477.7 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.02653, allocations: 5 kB / 477.7 MB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.02655, allocations: 0 / 477.7 MB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.0273, allocations: 215 kB / 477.9 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.0273, allocations: 0 / 477.9 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.02746, allocations: 26.34 kB / 477.9 MB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.02749, allocations: 8 kB / 477.9 MB, free: 2.941 MB / 426.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 (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.0001476/0.02764, allocations: 136.5 kB / 478.1 MB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.02771, allocations: 42.45 kB / 478.1 MB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.0278, allocations: 48.88 kB / 478.1 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.0278, allocations: 7.984 kB / 478.2 MB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02781, allocations: 1.875 kB / 478.2 MB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.02781, allocations: 0 / 478.2 MB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.02827, allocations: 301.3 kB / 478.5 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.02827, allocations: 0 / 478.5 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006753/0.02894, allocations: 204.3 kB / 478.7 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.02895, allocations: 1.375 kB / 478.7 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.02898, allocations: 8 kB / 478.7 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.02898, allocations: 0 / 478.7 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02898, allocations: 0.75 kB / 478.7 MB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.02976, allocations: 367 kB / 479 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.02984, allocations: 48.88 kB / 479.1 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.02988, allocations: 8.812 kB / 479.1 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.03006, allocations: 9.406 kB / 479.1 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.03011, allocations: 29.16 kB / 479.1 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.03013, allocations: 4 kB / 479.1 MB, free: 1.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001908/0.03032, allocations: 157.9 kB / 479.3 MB, free: 1.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03032, allocations: 0 / 479.3 MB, free: 1.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.03074, allocations: 151.6 kB / 479.4 MB, free: 1.422 MB / 426.7 MB 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.0001329/0.03087, allocations: 90.19 kB / 479.5 MB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.03115, allocations: 164.7 kB / 479.7 MB, free: 1.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.03115, allocations: 5.438 kB / 479.7 MB, free: 1.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.0313, allocations: 104.8 kB / 479.8 MB, free: 1.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.03182, allocations: 120.1 kB / 479.9 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.03363, allocations: 0.9574 MB / 480.9 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.03374, allocations: 126.3 kB / 481 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.03393, allocations: 50.34 kB / 481 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.03424, allocations: 153.3 kB / 481.2 MB, free: 15.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03424, allocations: 4.906 kB / 481.2 MB, free: 15.65 MB / 442.7 MB Notification: Performance of Templates: time 0.01393/0.04817, allocations: 6.203 MB / 487.4 MB, free: 10 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4629878709092736]