Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.8.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.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001172/0.001172, allocations: 195.7 kB / 371.9 MB, free: 10.24 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.568/1.568, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0008579/0.0008578, allocations: 97.61 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 16.05 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6806/0.8907, allocations: 146.7 MB / 1.123 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.8911, allocations: 112.1 kB / 1.123 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04268/0.9338, allocations: 17.97 MB / 1.14 GB, free: 26.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9339, allocations: 0 / 1.14 GB, free: 26.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9339, allocations: 3.844 kB / 1.14 GB, free: 26.91 MB / 0.698 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.0008068/0.9347, allocations: 0.6545 MB / 1.141 GB, free: 26.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.9347, allocations: 15.52 kB / 1.141 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.9348, allocations: 50.8 kB / 1.141 GB, free: 26.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.9352, allocations: 353.5 kB / 1.141 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.9352, allocations: 18.5 kB / 1.141 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.9353, allocations: 22.28 kB / 1.141 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.9356, allocations: 198.9 kB / 1.142 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.9357, allocations: 0 / 1.142 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.9357, allocations: 9.188 kB / 1.142 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9357, allocations: 3.844 kB / 1.142 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.936, allocations: 178.3 kB / 1.142 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.9371, allocations: 0.8865 MB / 1.143 GB, free: 25.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.9374, allocations: 154.5 kB / 1.143 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.9374, allocations: 3.906 kB / 1.143 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.9374, allocations: 37.67 kB / 1.143 GB, free: 25.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.9374, allocations: 0 / 1.143 GB, free: 25.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005358/0.938, allocations: 276.6 kB / 1.143 GB, free: 25.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.938, allocations: 51.41 kB / 1.143 GB, free: 25.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.9383, allocations: 367.7 kB / 1.144 GB, free: 25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.9384, allocations: 33.33 kB / 1.144 GB, free: 24.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.9385, allocations: 210.1 kB / 1.144 GB, free: 24.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.9385, allocations: 57.67 kB / 1.144 GB, free: 24.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.9386, allocations: 2.188 kB / 1.144 GB, free: 24.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9387, allocations: 349.7 kB / 1.144 GB, free: 24.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.9388, allocations: 55.16 kB / 1.144 GB, free: 24.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.9389, allocations: 68.78 kB / 1.144 GB, free: 24.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.9391, allocations: 70.72 kB / 1.144 GB, free: 24.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9391, allocations: 0 / 1.144 GB, free: 24.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003283/0.9394, allocations: 226.9 kB / 1.145 GB, free: 24.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9394, allocations: 3.75 kB / 1.145 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9395, allocations: 0 / 1.145 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.9395, allocations: 3.812 kB / 1.145 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.9397, allocations: 54.2 kB / 1.145 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9397, allocations: 0 / 1.145 GB, free: 24.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.9399, allocations: 30.55 kB / 1.145 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.9399, allocations: 3.844 kB / 1.145 GB, free: 24.35 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.9401, allocations: 177.2 kB / 1.145 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.9401, allocations: 34.88 kB / 1.145 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.9402, allocations: 40.44 kB / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.9402, allocations: 3.688 kB / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9402, allocations: 0 / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9402, allocations: 0 / 1.145 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.9406, allocations: 384.5 kB / 1.145 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9406, allocations: 0 / 1.145 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.9409, allocations: 57.84 kB / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9409, allocations: 0 / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.9409, allocations: 3.25 kB / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9409, allocations: 3.844 kB / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9409, allocations: 0 / 1.145 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.9415, allocations: 393.4 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.9416, allocations: 114.7 kB / 1.146 GB, free: 23.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.9416, allocations: 2.5 kB / 1.146 GB, free: 23.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.9418, allocations: 26.61 kB / 1.146 GB, free: 23.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.9418, allocations: 14.81 kB / 1.146 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9418, allocations: 3.844 kB / 1.146 GB, free: 23.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002469/0.9421, allocations: 301.4 kB / 1.146 GB, free: 23.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9421, allocations: 0 / 1.146 GB, free: 23.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003403/0.9424, allocations: 82.81 kB / 1.146 GB, free: 23.46 MB / 0.698 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 (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.0003368/0.9428, allocations: 262.1 kB / 1.146 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.9431, allocations: 158.2 kB / 1.147 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9431, allocations: 0 / 1.147 GB, free: 23.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.9433, allocations: 83.88 kB / 1.147 GB, free: 23.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.9437, allocations: 86.92 kB / 1.147 GB, free: 23.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.9447, allocations: 0.8986 MB / 1.148 GB, free: 22.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.9451, allocations: 0.807 MB / 1.148 GB, free: 21.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000114/0.9452, allocations: 31.44 kB / 1.148 GB, free: 21.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.9453, allocations: 22.84 kB / 1.148 GB, free: 21.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9453, allocations: 4 kB / 1.148 GB, free: 21.89 MB / 0.698 GB Notification: Performance of Templates: time 0.008199/0.9535, allocations: 5.243 MB / 1.154 GB, free: 19.34 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)