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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 106.6 kB / 18.32 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 190 kB / 21.5 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.1 MB, free: 13.51 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 287.1 kB / 305.5 MB, free: 8.773 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.287/1.287, allocations: 180.9 MB / 0.5288 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002836/0.002836, allocations: 108 kB / 0.7291 GB, free: 39.54 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1819, allocations: 94.17 MB / 0.8211 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00607/0.188, allocations: 4.179 MB / 0.8251 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.192, allocations: 2.421 MB / 0.8275 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.1923, allocations: 12 kB / 0.8275 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1939, allocations: 0.5363 MB / 0.828 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.1945, allocations: 254 kB / 0.8283 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1948, allocations: 139.9 kB / 0.8284 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1958, allocations: 0.8189 MB / 0.8292 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.1963, allocations: 234.6 kB / 0.8294 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.1967, allocations: 294.9 kB / 0.8297 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.1971, allocations: 326.6 kB / 0.83 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.1972, allocations: 72 kB / 0.8301 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1973, allocations: 79.94 kB / 0.8302 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1975, allocations: 167.4 kB / 0.8303 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.1979, allocations: 390.3 kB / 0.8307 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1991, allocations: 1.004 MB / 0.8317 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1991, allocations: 0 / 0.8317 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1991, allocations: 4 kB / 0.8317 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.1991, allocations: 4 kB / 0.8317 GB, free: 8.164 MB / 0.5762 GB 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.001632/0.2008, allocations: 0.9652 MB / 0.8326 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2008, allocations: 8.031 kB / 0.8326 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2009, allocations: 76.47 kB / 0.8327 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.2017, allocations: 466 kB / 0.8332 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.2017, allocations: 41.38 kB / 0.8332 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.2018, allocations: 52.33 kB / 0.8333 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/0.2027, allocations: 430.8 kB / 0.8337 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.2027, allocations: 0 / 0.8337 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.2028, allocations: 16 kB / 0.8337 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.2028, allocations: 15.98 kB / 0.8337 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.2035, allocations: 367.8 kB / 0.834 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.206, allocations: 1.524 MB / 0.8355 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.2066, allocations: 311.9 kB / 0.8358 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.2071, allocations: 288.5 kB / 0.8361 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2071, allocations: 4 kB / 0.8361 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.2072, allocations: 42.5 kB / 0.8361 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.2072, allocations: 0 / 0.8361 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.001054/0.2082, allocations: 498.5 kB / 0.8366 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.2083, allocations: 59.39 kB / 0.8367 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.2089, allocations: 489.9 kB / 0.8371 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.209, allocations: 29.7 kB / 0.8372 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.2093, allocations: 285.4 kB / 0.8374 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.2094, allocations: 154.6 kB / 0.8376 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.2095, allocations: 62.08 kB / 0.8377 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.2098, allocations: 358.8 kB / 0.838 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.21, allocations: 124.7 kB / 0.8381 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.2103, allocations: 125.5 kB / 0.8382 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.2108, allocations: 298.7 kB / 0.8385 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2108, allocations: 7.938 kB / 0.8385 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007453/0.2116, allocations: 404.4 kB / 0.8389 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2116, allocations: 6.344 kB / 0.8389 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2116, allocations: 0 / 0.8389 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2116, allocations: 4 kB / 0.8389 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.2122, allocations: 123.9 kB / 0.839 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2122, allocations: 7.984 kB / 0.839 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.2125, allocations: 35.72 kB / 0.8391 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2125, allocations: 12 kB / 0.8391 GB, free: 340 kB / 0.5762 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.0002669/0.2128, allocations: 193.8 kB / 0.8393 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2129, allocations: 59.55 kB / 0.8393 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.213, allocations: 65.09 kB / 0.8394 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.213, allocations: 8 kB / 0.8394 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.213, allocations: 0 / 0.8394 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.213, allocations: 3.984 kB / 0.8394 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/0.2139, allocations: 0.5674 MB / 0.84 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2139, allocations: 0 / 0.84 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.2144, allocations: 131.8 kB / 0.8401 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2144, allocations: 0 / 0.8401 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.2144, allocations: 12 kB / 0.8401 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2144, allocations: 4 kB / 0.8401 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.2144, allocations: 3.938 kB / 0.8401 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2155, allocations: 0.6433 MB / 0.8407 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.2157, allocations: 144.6 kB / 0.8409 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.2158, allocations: 12 kB / 0.8409 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.216, allocations: 12 kB / 0.8409 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.2161, allocations: 31.89 kB / 0.8409 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.2161, allocations: 8 kB / 0.8409 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004604/0.2165, allocations: 351.1 kB / 0.8413 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2165, allocations: 0 / 0.8413 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004476/0.217, allocations: 143.7 kB / 0.8414 GB, free: 13.87 MB / 0.5919 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.0001701/0.2172, allocations: 115.2 kB / 0.8415 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006687/0.2178, allocations: 307.5 kB / 0.8418 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2178, allocations: 0 / 0.8418 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2181, allocations: 164.2 kB / 0.842 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.2188, allocations: 123.8 kB / 0.8421 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.2211, allocations: 1.221 MB / 0.8433 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.2216, allocations: 0.8704 MB / 0.8441 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002239/0.2219, allocations: 48.39 kB / 0.8442 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.222, allocations: 39.44 kB / 0.8442 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/0.222, allocations: 4 kB / 0.8442 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.01344/0.2354, allocations: 6.188 MB / 0.8503 GB, free: 4.883 MB / 0.5919 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.183246294996934]