Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.594/1.594, allocations: 287.4 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 180.4 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000779/0.000779, allocations: 94.92 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003926, allocations: 11.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003026/0.2213, allocations: 3.585 MB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.2236, allocations: 2.261 MB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.2238, allocations: 8 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.2248, allocations: 450 kB / 0.9855 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.2252, allocations: 210.5 kB / 0.9857 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.2253, allocations: 95.91 kB / 0.9858 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005398/0.2259, allocations: 0.7686 MB / 0.9865 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.2262, allocations: 280.2 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.2264, allocations: 231.1 kB / 0.987 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.2267, allocations: 278.7 kB / 0.9873 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.2267, allocations: 36 kB / 0.9873 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.2268, allocations: 36 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.2269, allocations: 127.5 kB / 0.9874 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.227, allocations: 165.3 kB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.2274, allocations: 0.7905 MB / 0.9884 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2274, allocations: 0 / 0.9884 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2275, allocations: 0 / 0.9884 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.2275, allocations: 4 kB / 0.9884 GB, free: 18.84 MB / 0.6198 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.001035/0.2285, allocations: 0.8435 MB / 0.9892 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2286, allocations: 8.031 kB / 0.9892 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.2286, allocations: 76.09 kB / 0.9893 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.2291, allocations: 453.7 kB / 0.9897 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2291, allocations: 37.38 kB / 0.9898 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.2291, allocations: 48.38 kB / 0.9898 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.2298, allocations: 426.8 kB / 0.9902 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2298, allocations: 3.906 kB / 0.9902 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2298, allocations: 20 kB / 0.9902 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2298, allocations: 15.98 kB / 0.9902 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.2305, allocations: 379.8 kB / 0.9906 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2321, allocations: 1.532 MB / 0.9921 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.2325, allocations: 335 kB / 0.9924 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.2329, allocations: 361.1 kB / 0.9928 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2329, allocations: 4 kB / 0.9928 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.233, allocations: 54.2 kB / 0.9928 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 3.085e-06/0.233, allocations: 0 / 0.9928 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0007914/0.2338, allocations: 0.5019 MB / 0.9933 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.2338, allocations: 59.34 kB / 0.9934 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.2342, allocations: 481.9 kB / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2343, allocations: 33.7 kB / 0.9939 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2344, allocations: 280.3 kB / 0.9941 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.2345, allocations: 145.8 kB / 0.9943 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.2345, allocations: 12 kB / 0.9943 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.2346, allocations: 362.8 kB / 0.9946 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.2348, allocations: 120.7 kB / 0.9947 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.235, allocations: 145.1 kB / 0.9949 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.2354, allocations: 299.3 kB / 0.9952 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2354, allocations: 0 / 0.9952 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005218/0.236, allocations: 392.8 kB / 0.9955 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.236, allocations: 7.938 kB / 0.9955 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.236, allocations: 0 / 0.9955 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.236, allocations: 4 kB / 0.9955 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.2365, allocations: 123.9 kB / 0.9957 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.2365, allocations: 11.94 kB / 0.9957 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2367, allocations: 55.56 kB / 0.9957 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2367, allocations: 12 kB / 0.9957 GB, free: 11.06 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.2369, allocations: 197.7 kB / 0.9959 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.237, allocations: 55.38 kB / 0.996 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.2371, allocations: 61.11 kB / 0.996 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2371, allocations: 3.984 kB / 0.996 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2371, allocations: 0 / 0.996 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.2372, allocations: 140.3 kB / 0.9962 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.2372, allocations: 8 kB / 0.9962 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2375, allocations: 23.98 kB / 0.9962 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.2375, allocations: 23.95 kB / 0.9962 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009412/0.2385, allocations: 0.5315 MB / 0.9968 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008112/0.2393, allocations: 0.7438 MB / 0.9975 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002294/0.2395, allocations: 172 kB / 0.9976 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002968/0.2398, allocations: 347.1 kB / 0.998 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of Backend: time 6.01e-07/0.2398, allocations: 0 / 0.998 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006219/0.2405, allocations: 283.7 kB / 0.9982 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001718/0.2422, allocations: 1.873 MB / 1 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of Templates: time 0.008769/0.251, allocations: 6.092 MB / 1.006 GB, free: 0.5352 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)