Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006328/0.006328, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.7 MB / 0.5094 GB, free: 3.066 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.89 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2032, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004312/0.2076, allocations: 3.042 MB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.2103, allocations: 2.192 MB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2105, allocations: 4 kB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.2118, allocations: 0.5007 MB / 0.8337 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.212, allocations: 150.8 kB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.2122, allocations: 67.94 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.2126, allocations: 445.8 kB / 0.8343 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.2129, allocations: 151.2 kB / 0.8345 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.2131, allocations: 155.4 kB / 0.8346 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.2133, allocations: 183.1 kB / 0.8348 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.2133, allocations: 36 kB / 0.8348 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-05/0.2134, allocations: 36 kB / 0.8349 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2135, allocations: 99.61 kB / 0.835 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2137, allocations: 218.9 kB / 0.8352 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.2142, allocations: 0.5411 MB / 0.8357 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2142, allocations: 0 / 0.8357 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2142, allocations: 4 kB / 0.8357 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2142, allocations: 0 / 0.8357 GB, free: 8.332 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009989/0.2152, allocations: 0.7006 MB / 0.8364 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2153, allocations: 8.031 kB / 0.8364 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.2154, allocations: 48.47 kB / 0.8364 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.2159, allocations: 374.1 kB / 0.8368 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2159, allocations: 16.81 kB / 0.8368 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.216, allocations: 16.38 kB / 0.8368 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.2164, allocations: 211.5 kB / 0.837 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2164, allocations: 0 / 0.837 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2164, allocations: 12 kB / 0.837 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2164, allocations: 8 kB / 0.837 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.2168, allocations: 161.7 kB / 0.8372 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.2178, allocations: 0.8661 MB / 0.838 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.2181, allocations: 154.6 kB / 0.8382 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2183, allocations: 112.8 kB / 0.8383 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.2183, allocations: 320 / 0.8383 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2184, allocations: 38.56 kB / 0.8383 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.2184, allocations: 0 / 0.8383 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0005311/0.2189, allocations: 260.9 kB / 0.8386 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2189, allocations: 51.41 kB / 0.8386 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.2194, allocations: 421.7 kB / 0.839 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2194, allocations: 29.7 kB / 0.8391 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2195, allocations: 200.2 kB / 0.8393 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.2196, allocations: 70.98 kB / 0.8393 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.2196, allocations: 33.72 kB / 0.8394 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2198, allocations: 350.8 kB / 0.8397 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2199, allocations: 51.97 kB / 0.8397 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2201, allocations: 67.95 kB / 0.8398 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.2203, allocations: 131.7 kB / 0.8399 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2203, allocations: 0 / 0.8399 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003553/0.2207, allocations: 213.1 kB / 0.8401 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2207, allocations: 4 kB / 0.8401 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2207, allocations: 0 / 0.8401 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2208, allocations: 11.92 kB / 0.8401 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.221, allocations: 51.97 kB / 0.8402 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.221, allocations: 0 / 0.8402 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2211, allocations: 15.84 kB / 0.8402 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2212, allocations: 15.92 kB / 0.8402 GB, free: 3.449 MB / 0.6544 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 (20): * Single equations (assignments): 20 * 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.000145/0.2213, allocations: 161.8 kB / 0.8404 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.2214, allocations: 31.62 kB / 0.8404 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.2215, allocations: 47.52 kB / 0.8405 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2215, allocations: 4 kB / 0.8405 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2215, allocations: 0 / 0.8405 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2215, allocations: 0 / 0.8405 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.2219, allocations: 373.3 kB / 0.8408 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2219, allocations: 0 / 0.8408 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2221, allocations: 59.89 kB / 0.8409 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2221, allocations: 4 kB / 0.8409 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2221, allocations: 7.938 kB / 0.8409 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2222, allocations: 0 / 0.8409 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2222, allocations: 3.938 kB / 0.8409 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.2227, allocations: 380.3 kB / 0.8413 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.2228, allocations: 120.7 kB / 0.8414 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.2229, allocations: 7.938 kB / 0.8414 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.223, allocations: 8 kB / 0.8414 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.2231, allocations: 11.98 kB / 0.8414 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2231, allocations: 3.984 kB / 0.8414 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003069/0.2234, allocations: 307.1 kB / 0.8417 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2234, allocations: 3.938 kB / 0.8417 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003014/0.2237, allocations: 71.84 kB / 0.8418 GB, free: 1.785 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001177/0.2239, allocations: 111.2 kB / 0.8419 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.2242, allocations: 139.9 kB / 0.842 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2242, allocations: 0 / 0.842 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2244, allocations: 79.91 kB / 0.8421 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.2249, allocations: 101.4 kB / 0.8422 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.226, allocations: 0.741 MB / 0.8429 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.2264, allocations: 0.7988 MB / 0.8437 GB, free: 15.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.2265, allocations: 38.95 kB / 0.8437 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.2266, allocations: 23.44 kB / 0.8437 GB, free: 15.7 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.2266, allocations: 4 kB / 0.8437 GB, free: 15.7 MB / 0.67 GB Notification: Performance of Templates: time 0.007567/0.2342, allocations: 3.99 MB / 0.8476 GB, free: 11.82 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)