Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 172.9 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.474/2.474, allocations: 205.4 MB / 0.5767 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000945/0.0009449, allocations: 97.8 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004792, allocations: 15.33 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1959, allocations: 106.2 MB / 0.8991 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004807/0.2008, allocations: 3.604 MB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.2047, allocations: 2.257 MB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.2052, allocations: 12 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.207, allocations: 452.2 kB / 0.9052 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.2078, allocations: 226.4 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.2081, allocations: 79.92 kB / 0.9055 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.2091, allocations: 0.759 MB / 0.9063 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004875/0.2096, allocations: 269.5 kB / 0.9065 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.21, allocations: 239 kB / 0.9068 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.2103, allocations: 270.8 kB / 0.907 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.2104, allocations: 36 kB / 0.907 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2106, allocations: 32 kB / 0.9071 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2107, allocations: 127.5 kB / 0.9072 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2109, allocations: 165.3 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.2117, allocations: 0.7829 MB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2117, allocations: 0 / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2117, allocations: 0 / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2117, allocations: 0 / 0.9081 GB, free: 56.55 MB / 0.6042 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.001772/0.2135, allocations: 0.853 MB / 0.909 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2136, allocations: 8.031 kB / 0.909 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.2137, allocations: 76 kB / 0.909 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2144, allocations: 430.2 kB / 0.9094 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.2145, allocations: 41.31 kB / 0.9095 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.2146, allocations: 48.38 kB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2157, allocations: 438.7 kB / 0.9099 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.2157, allocations: 3.906 kB / 0.9099 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.2158, allocations: 20 kB / 0.91 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2158, allocations: 12 kB / 0.91 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2169, allocations: 371.8 kB / 0.9103 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.2198, allocations: 1.539 MB / 0.9118 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/0.2206, allocations: 343.5 kB / 0.9122 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.2213, allocations: 363.6 kB / 0.9125 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.2214, allocations: 8 kB / 0.9125 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2214, allocations: 42.28 kB / 0.9126 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.537e-06/0.2214, allocations: 4 kB / 0.9126 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001423/0.2229, allocations: 0.5002 MB / 0.9131 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.2229, allocations: 55.41 kB / 0.9131 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.2237, allocations: 485.9 kB / 0.9136 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.2237, allocations: 33.7 kB / 0.9136 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.2239, allocations: 280.3 kB / 0.9139 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.2241, allocations: 145.8 kB / 0.914 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.2241, allocations: 8 kB / 0.914 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.2242, allocations: 362.7 kB / 0.9144 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.2246, allocations: 128.7 kB / 0.9145 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.225, allocations: 133.2 kB / 0.9146 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.2254, allocations: 141.8 kB / 0.9147 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2255, allocations: 0 / 0.9147 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001027/0.2265, allocations: 408.6 kB / 0.9151 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2265, allocations: 4 kB / 0.9151 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2265, allocations: 0 / 0.9151 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2266, allocations: 4 kB / 0.9151 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.2275, allocations: 123.9 kB / 0.9153 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2275, allocations: 8 kB / 0.9153 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.228, allocations: 51.58 kB / 0.9153 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.228, allocations: 11.94 kB / 0.9153 GB, free: 48.92 MB / 0.6042 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.0003412/0.2284, allocations: 201.8 kB / 0.9155 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2285, allocations: 55.28 kB / 0.9156 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.2287, allocations: 61.09 kB / 0.9156 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2287, allocations: 4 kB / 0.9156 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.2287, allocations: 0 / 0.9156 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.2288, allocations: 0 / 0.9156 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2299, allocations: 0.5751 MB / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.23, allocations: 0 / 0.9162 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.2313, allocations: 135.8 kB / 0.9163 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.2313, allocations: 7.969 kB / 0.9163 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.2314, allocations: 8 kB / 0.9163 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2314, allocations: 0 / 0.9163 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2314, allocations: 4 kB / 0.9163 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.2334, allocations: 0.6671 MB / 0.917 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.2337, allocations: 144.3 kB / 0.9171 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.2339, allocations: 8 kB / 0.9171 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.2345, allocations: 27.92 kB / 0.9172 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2346, allocations: 23.97 kB / 0.9172 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.2347, allocations: 12 kB / 0.9172 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007448/0.2354, allocations: 347.1 kB / 0.9175 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2354, allocations: 0 / 0.9175 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009011/0.2363, allocations: 143.6 kB / 0.9177 GB, free: 46.43 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.2366, allocations: 111.2 kB / 0.9178 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.2378, allocations: 331.6 kB / 0.9181 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2378, allocations: 0 / 0.9181 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.2385, allocations: 183.8 kB / 0.9183 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.24, allocations: 129.7 kB / 0.9184 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.244, allocations: 1.437 MB / 0.9198 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.2446, allocations: 0.8668 MB / 0.9206 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004917/0.2451, allocations: 52.39 kB / 0.9207 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.2453, allocations: 35.44 kB / 0.9207 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.433e-06/0.2453, allocations: 4 kB / 0.9207 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.02008/0.2654, allocations: 5.389 MB / 0.926 GB, free: 37.96 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)