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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005599/0.005599, allocations: 106.2 kB / 15.74 MB, free: 6 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.001153/0.001153, allocations: 199 kB / 16.68 MB, free: 5.918 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.344 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.565/1.565, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001368/0.001368, allocations: 71.91 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1835, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00546/0.189, allocations: 4.154 MB / 0.8322 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1925, allocations: 2.461 MB / 0.8346 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.1928, allocations: 12 kB / 0.8346 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1944, allocations: 0.5324 MB / 0.8351 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.1949, allocations: 250 kB / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1952, allocations: 135.9 kB / 0.8355 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.1959, allocations: 0.8175 MB / 0.8363 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.1964, allocations: 342.4 kB / 0.8366 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.1967, allocations: 287 kB / 0.8369 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1971, allocations: 326.6 kB / 0.8372 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.1972, allocations: 76 kB / 0.8372 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.1973, allocations: 76 kB / 0.8373 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.1975, allocations: 163.5 kB / 0.8375 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.1978, allocations: 390.2 kB / 0.8378 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.1986, allocations: 0.9889 MB / 0.8388 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1986, allocations: 0 / 0.8388 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1986, allocations: 4 kB / 0.8388 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1987, allocations: 0 / 0.8388 GB, free: 5.129 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001347/0.2, allocations: 0.9502 MB / 0.8397 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2001, allocations: 8.031 kB / 0.8397 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2002, allocations: 72.09 kB / 0.8398 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.2008, allocations: 461.7 kB / 0.8403 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.2009, allocations: 37.38 kB / 0.8403 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.201, allocations: 48.38 kB / 0.8403 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.2017, allocations: 430.8 kB / 0.8407 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2018, allocations: 4 kB / 0.8407 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2018, allocations: 16 kB / 0.8408 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2018, allocations: 15.94 kB / 0.8408 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.2025, allocations: 367.8 kB / 0.8411 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.2047, allocations: 1.52 MB / 0.8426 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2052, allocations: 334.9 kB / 0.8429 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.2057, allocations: 333 kB / 0.8432 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2057, allocations: 7.938 kB / 0.8433 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2058, allocations: 42.5 kB / 0.8433 GB, free: 348 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.2058, allocations: 3.938 kB / 0.8433 GB, free: 344 kB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0009474/0.2067, allocations: 497 kB / 0.8438 GB, free: 15.84 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2068, allocations: 55.41 kB / 0.8438 GB, free: 15.78 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.2073, allocations: 493.9 kB / 0.8443 GB, free: 15.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2074, allocations: 29.7 kB / 0.8443 GB, free: 15.25 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.2076, allocations: 276.4 kB / 0.8446 GB, free: 14.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.2077, allocations: 141.9 kB / 0.8447 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.2078, allocations: 62.08 kB / 0.8448 GB, free: 14.76 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.208, allocations: 358.8 kB / 0.8451 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.2082, allocations: 124.6 kB / 0.8452 GB, free: 14.28 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.2085, allocations: 129.5 kB / 0.8454 GB, free: 14.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.209, allocations: 298 kB / 0.8457 GB, free: 13.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.209, allocations: 4 kB / 0.8457 GB, free: 13.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006584/0.2097, allocations: 396.1 kB / 0.846 GB, free: 13.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2097, allocations: 7.938 kB / 0.846 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2097, allocations: 0 / 0.846 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2097, allocations: 4 kB / 0.846 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.2103, allocations: 127.9 kB / 0.8462 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.2103, allocations: 3.938 kB / 0.8462 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.2105, allocations: 31.69 kB / 0.8462 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.2105, allocations: 15.98 kB / 0.8462 GB, free: 13.28 MB / 0.67 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.0002174/0.2107, allocations: 189.8 kB / 0.8464 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.2108, allocations: 55.28 kB / 0.8465 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.211, allocations: 69.09 kB / 0.8465 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.211, allocations: 7.984 kB / 0.8465 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.211, allocations: 4 kB / 0.8465 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.211, allocations: 3.984 kB / 0.8465 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006786/0.2117, allocations: 0.575 MB / 0.8471 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2117, allocations: 0 / 0.8471 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.2122, allocations: 127.8 kB / 0.8472 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2122, allocations: 3.984 kB / 0.8472 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.2123, allocations: 12 kB / 0.8472 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2123, allocations: 4 kB / 0.8472 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2123, allocations: 0 / 0.8472 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.2133, allocations: 0.6479 MB / 0.8479 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.2134, allocations: 140.4 kB / 0.848 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.2135, allocations: 4 kB / 0.848 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.2137, allocations: 16 kB / 0.848 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.2138, allocations: 23.95 kB / 0.848 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2138, allocations: 12 kB / 0.8481 GB, free: 11.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003962/0.2142, allocations: 347.1 kB / 0.8484 GB, free: 10.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2142, allocations: 0 / 0.8484 GB, free: 10.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004236/0.2146, allocations: 147.5 kB / 0.8485 GB, free: 10.82 MB / 0.67 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.0001527/0.2148, allocations: 119.2 kB / 0.8486 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006192/0.2154, allocations: 315.6 kB / 0.8489 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2154, allocations: 0 / 0.8489 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.2157, allocations: 179.8 kB / 0.8491 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.2164, allocations: 121.8 kB / 0.8492 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2183, allocations: 1.206 MB / 0.8504 GB, free: 8.855 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.2188, allocations: 0.8742 MB / 0.8513 GB, free: 7.953 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.219, allocations: 44.41 kB / 0.8513 GB, free: 7.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.2191, allocations: 35.44 kB / 0.8513 GB, free: 7.871 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.2191, allocations: 8 kB / 0.8513 GB, free: 7.863 MB / 0.67 GB Notification: Performance of Templates: time 0.0112/0.2303, allocations: 6.027 MB / 0.8572 GB, free: 1.98 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)