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.0009245/0.0009245, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001648/0.001648, allocations: 173.4 kB / 23.36 MB, free: 1.129 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.9396/0.9396, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001547/0.001547, allocations: 245.7 kB / 260.5 MB, free: 12.7 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.6782/0.6782, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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.723e-06/1.723e-06, allocations: 0.6562 kB / 462.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.135e-05, allocations: 5.578 kB / 462.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00385/0.003871, allocations: 4.154 MB / 466.5 MB, free: 14.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.007018, allocations: 2.444 MB / 469 MB, free: 12.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.007276, allocations: 8.5 kB / 469 MB, free: 12.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.008413, allocations: 0.5043 MB / 469.5 MB, free: 11.55 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.008812, allocations: 268.1 kB / 469.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.009018, allocations: 140.7 kB / 469.9 MB, free: 11.16 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.009713, allocations: 0.845 MB / 470.7 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.009994, allocations: 226.3 kB / 470.9 MB, free: 10.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.01058, allocations: 463 kB / 471.4 MB, free: 9.637 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.01088, allocations: 251.3 kB / 471.6 MB, free: 9.391 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.01094, allocations: 76.62 kB / 471.7 MB, free: 9.316 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.01101, allocations: 72 kB / 471.8 MB, free: 9.246 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.01113, allocations: 171.9 kB / 472 MB, free: 9.078 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.01132, allocations: 272.4 kB / 472.2 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.01177, allocations: 0.5099 MB / 472.7 MB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01177, allocations: 0 / 472.7 MB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01177, allocations: 0.9688 kB / 472.7 MB, free: 8.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.01178, allocations: 0 / 472.7 MB, free: 8.301 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.0008493/0.01263, allocations: 0.8602 MB / 473.6 MB, free: 7.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.01266, allocations: 8.031 kB / 473.6 MB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/0.01275, allocations: 88.86 kB / 473.7 MB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.01309, allocations: 302.4 kB / 474 MB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.01311, allocations: 33.38 kB / 474 MB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.01316, allocations: 48.38 kB / 474.1 MB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.01348, allocations: 291.7 kB / 474.3 MB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01349, allocations: 192 / 474.3 MB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.01351, allocations: 21.5 kB / 474.4 MB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.01352, allocations: 20.94 kB / 474.4 MB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.01369, allocations: 136.1 kB / 474.5 MB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.01468, allocations: 0.8486 MB / 475.4 MB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.01485, allocations: 159.2 kB / 475.5 MB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.015, allocations: 160.8 kB / 475.7 MB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01502, allocations: 12.97 kB / 475.7 MB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.01504, allocations: 31.19 kB / 475.7 MB, free: 5.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.01504, allocations: 0 / 475.7 MB, free: 5.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002774/0.01532, allocations: 227.8 kB / 475.9 MB, free: 5.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01535, allocations: 55.41 kB / 476 MB, free: 4.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.01556, allocations: 351.9 kB / 476.3 MB, free: 4.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.01558, allocations: 33.7 kB / 476.4 MB, free: 4.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.01567, allocations: 226.6 kB / 476.6 MB, free: 4.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.01575, allocations: 158.6 kB / 476.7 MB, free: 4.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.01581, allocations: 62.05 kB / 476.8 MB, free: 4.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.01591, allocations: 363.3 kB / 477.2 MB, free: 3.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.01595, allocations: 36.67 kB / 477.2 MB, free: 3.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.016, allocations: 43.39 kB / 477.2 MB, free: 3.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01612, allocations: 132 kB / 477.4 MB, free: 3.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01612, allocations: 4 kB / 477.4 MB, free: 3.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001806/0.0163, allocations: 188 kB / 477.6 MB, free: 3.336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01631, allocations: 4 kB / 477.6 MB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01632, allocations: 6.719 kB / 477.6 MB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.01633, allocations: 0 / 477.6 MB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.01658, allocations: 127.8 kB / 477.7 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01658, allocations: 0.7031 kB / 477.7 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.01666, allocations: 27.78 kB / 477.7 MB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01668, allocations: 12.72 kB / 477.7 MB, free: 3.164 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 9.837e-05/0.01677, allocations: 132.6 kB / 477.9 MB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01682, allocations: 40.66 kB / 477.9 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.01687, allocations: 57.42 kB / 478 MB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01687, allocations: 4 kB / 478 MB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01688, allocations: 2.938 kB / 478 MB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01688, allocations: 7.938 kB / 478 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.01716, allocations: 289.4 kB / 478.3 MB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01716, allocations: 0 / 478.3 MB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.01741, allocations: 124.7 kB / 478.4 MB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01742, allocations: 4 kB / 478.4 MB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01743, allocations: 9.219 kB / 478.4 MB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01744, allocations: 4 kB / 478.4 MB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01744, allocations: 0 / 478.4 MB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.01774, allocations: 371.6 kB / 478.8 MB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.01779, allocations: 41.03 kB / 478.8 MB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.01782, allocations: 9.5 kB / 478.8 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.0179, allocations: 12 kB / 478.8 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01794, allocations: 27.94 kB / 478.8 MB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01795, allocations: 4 kB / 478.9 MB, free: 2.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.01806, allocations: 153.3 kB / 479 MB, free: 1.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01806, allocations: 0.6562 kB / 479 MB, free: 1.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.0183, allocations: 155.6 kB / 479.2 MB, free: 1.711 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.0001019/0.0184, allocations: 90.02 kB / 479.2 MB, free: 1.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.01857, allocations: 160.4 kB / 479.4 MB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01858, allocations: 4.75 kB / 479.4 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.01866, allocations: 104.8 kB / 479.5 MB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.01897, allocations: 109.9 kB / 479.6 MB, free: 1.258 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.02013, allocations: 0.9637 MB / 480.6 MB, free: 296 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.0202, allocations: 127.3 kB / 480.7 MB, free: 148 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.02032, allocations: 44.62 kB / 480.7 MB, free: 104 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.0205, allocations: 135.3 kB / 480.9 MB, free: 15.97 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0205, allocations: 0.7188 kB / 480.9 MB, free: 15.97 MB / 442.7 MB Notification: Performance of Templates: time 0.008109/0.02861, allocations: 5.378 MB / 486.3 MB, free: 11.11 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 -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.4870747616514564]