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.005819/0.00582, allocations: 108.9 kB / 15.74 MB, free: 6.441 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.001285/0.001286, allocations: 191.7 kB / 16.67 MB, free: 6.355 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.497/1.497, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001427/0.001427, allocations: 68.42 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1951, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004343/0.1995, allocations: 3.043 MB / 0.8311 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.2026, allocations: 2.188 MB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.2028, allocations: 4 kB / 0.8332 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2041, allocations: 0.4899 MB / 0.8337 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.2044, allocations: 154.8 kB / 0.8338 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.2046, allocations: 63.94 kB / 0.8339 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.205, allocations: 449.8 kB / 0.8343 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.2053, allocations: 147.2 kB / 0.8345 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.2055, allocations: 155.4 kB / 0.8346 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.2057, allocations: 183.1 kB / 0.8348 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2058, allocations: 36 kB / 0.8348 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.354e-05/0.2059, allocations: 32 kB / 0.8348 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.206, allocations: 95.67 kB / 0.8349 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.2062, allocations: 226.8 kB / 0.8352 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.2067, allocations: 0.545 MB / 0.8357 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2067, allocations: 0 / 0.8357 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2067, allocations: 0 / 0.8357 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.2068, allocations: 0 / 0.8357 GB, free: 8.344 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.001051/0.2078, allocations: 0.7045 MB / 0.8364 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2079, allocations: 8.031 kB / 0.8364 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.2079, allocations: 44.47 kB / 0.8364 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.2085, allocations: 374.1 kB / 0.8368 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2085, allocations: 16.81 kB / 0.8368 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.2086, allocations: 20.38 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.209, allocations: 215.5 kB / 0.837 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.209, allocations: 0 / 0.837 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.209, allocations: 12 kB / 0.837 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2091, allocations: 8 kB / 0.837 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.2094, allocations: 157.7 kB / 0.8372 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2106, allocations: 0.8661 MB / 0.838 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.2109, allocations: 154.5 kB / 0.8382 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.2111, allocations: 108.8 kB / 0.8383 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2111, allocations: 8.25 kB / 0.8383 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2112, allocations: 38.56 kB / 0.8383 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.2112, allocations: 0 / 0.8383 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.000588/0.2118, allocations: 256.9 kB / 0.8386 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2118, allocations: 55.41 kB / 0.8386 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.2123, allocations: 417.7 kB / 0.839 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2123, allocations: 33.7 kB / 0.8391 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2124, allocations: 204.2 kB / 0.8393 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.2125, allocations: 70.98 kB / 0.8393 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.2126, allocations: 29.72 kB / 0.8394 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2127, allocations: 350.8 kB / 0.8397 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.2129, allocations: 51.97 kB / 0.8397 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.213, allocations: 54.72 kB / 0.8398 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.2133, allocations: 140.8 kB / 0.8399 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2133, allocations: 0 / 0.8399 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003856/0.2137, allocations: 211.6 kB / 0.8401 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2137, allocations: 4 kB / 0.8401 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2138, allocations: 0 / 0.8401 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2138, allocations: 3.938 kB / 0.8401 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.214, allocations: 55.95 kB / 0.8402 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.214, allocations: 0 / 0.8402 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2142, allocations: 23.84 kB / 0.8402 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2142, allocations: 0 / 0.8402 GB, free: 3.473 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.0001471/0.2144, allocations: 165.8 kB / 0.8404 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.2144, allocations: 39.62 kB / 0.8404 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.2145, allocations: 43.53 kB / 0.8404 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2145, allocations: 3.984 kB / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2145, allocations: 0 / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2145, allocations: 0 / 0.8404 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.2149, allocations: 381.3 kB / 0.8408 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2149, allocations: 0 / 0.8408 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.2152, allocations: 59.83 kB / 0.8409 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2152, allocations: 0 / 0.8409 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2152, allocations: 11.94 kB / 0.8409 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2152, allocations: 0 / 0.8409 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2153, allocations: 3.984 kB / 0.8409 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.2158, allocations: 385.5 kB / 0.8413 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.216, allocations: 112.7 kB / 0.8414 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.216, allocations: 11.92 kB / 0.8414 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2162, allocations: 8 kB / 0.8414 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.2162, allocations: 11.98 kB / 0.8414 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2162, allocations: 4 kB / 0.8414 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003074/0.2166, allocations: 307.1 kB / 0.8417 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2166, allocations: 64 / 0.8417 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002983/0.2169, allocations: 75.84 kB / 0.8418 GB, free: 1.789 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.0001347/0.217, allocations: 111.2 kB / 0.8419 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.2174, allocations: 139.9 kB / 0.842 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2174, allocations: 0 / 0.842 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2176, allocations: 75.91 kB / 0.8421 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.2181, allocations: 96.23 kB / 0.8422 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2193, allocations: 0.7486 MB / 0.8429 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2197, allocations: 0.8027 MB / 0.8437 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.2198, 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 6.105e-05/0.2199, allocations: 23.44 kB / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.2199, allocations: 0 / 0.8437 GB, free: 15.71 MB / 0.67 GB Notification: Performance of Templates: time 0.007623/0.2275, allocations: 4.002 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)