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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 285.4 MB / 298 MB, free: 6.016 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.001191/0.001191, allocations: 168.9 kB / 366.4 MB, free: 2.098 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.427/1.427, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 90.45 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.323e-05/3.34e-05, allocations: 4 kB / 0.8583 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6555, allocations: 115.3 MB / 0.9709 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.8496, allocations: 148.7 MB / 1.116 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.85, allocations: 103.9 kB / 1.116 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05999/0.91, allocations: 22.21 MB / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.953e-06/0.91, allocations: 0 / 1.138 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.91, allocations: 8 kB / 1.138 GB, free: 12.88 MB / 0.7448 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.00131/0.9114, allocations: 0.7558 MB / 1.139 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.9114, allocations: 15.97 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.9116, allocations: 71.16 kB / 1.139 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.9122, allocations: 432.8 kB / 1.139 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.9123, allocations: 41 kB / 1.139 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.9124, allocations: 51.98 kB / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007462/0.9131, allocations: 398.6 kB / 1.14 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.9132, allocations: 11.89 kB / 1.14 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.9132, allocations: 16 kB / 1.14 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.9132, allocations: 12 kB / 1.14 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.9138, allocations: 332 kB / 1.14 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.9162, allocations: 1.532 MB / 1.142 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.9167, allocations: 323.2 kB / 1.142 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.9171, allocations: 336.7 kB / 1.142 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.9172, allocations: 4 kB / 1.142 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.9172, allocations: 38.56 kB / 1.142 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.9172, allocations: 1.875 kB / 1.142 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0006036/0.9178, allocations: 338 kB / 1.142 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.9179, allocations: 59.36 kB / 1.143 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.9185, allocations: 427.2 kB / 1.143 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.9185, allocations: 33.7 kB / 1.143 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.9187, allocations: 276.3 kB / 1.143 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.9188, allocations: 141.9 kB / 1.143 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.9189, allocations: 15.94 kB / 1.143 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.919, allocations: 358.8 kB / 1.144 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.9192, allocations: 104.8 kB / 1.144 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.9194, allocations: 109.2 kB / 1.144 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.9196, allocations: 130.6 kB / 1.144 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9196, allocations: 0 / 1.144 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005411/0.9202, allocations: 367.9 kB / 1.144 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9202, allocations: 8 kB / 1.144 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9202, allocations: 0 / 1.144 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9202, allocations: 0 / 1.144 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.9208, allocations: 131.8 kB / 1.145 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.9208, allocations: 0.7656 kB / 1.145 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.9211, allocations: 55.62 kB / 1.145 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.9212, allocations: 13.3 kB / 1.145 GB, free: 5.793 MB / 0.7448 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 () * 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 9.835e-05/0.9213, allocations: 127.1 kB / 1.145 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.9214, allocations: 51.34 kB / 1.145 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.9215, allocations: 60.89 kB / 1.145 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.9215, allocations: 4 kB / 1.145 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9215, allocations: 7.938 kB / 1.145 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9215, allocations: 3.984 kB / 1.145 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.9222, allocations: 0.5673 MB / 1.145 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.9222, allocations: 0 / 1.145 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.9228, allocations: 123.9 kB / 1.146 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.9228, allocations: 4 kB / 1.146 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.9228, allocations: 8 kB / 1.146 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.9228, allocations: 4 kB / 1.146 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9228, allocations: 4 kB / 1.146 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.9236, allocations: 0.6047 MB / 1.146 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.9238, allocations: 136.5 kB / 1.146 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.9239, allocations: 15.94 kB / 1.146 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.9241, allocations: 19.98 kB / 1.146 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.9242, allocations: 31.95 kB / 1.146 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.9242, allocations: 8 kB / 1.146 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004089/0.9247, allocations: 345.2 kB / 1.147 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9247, allocations: 0 / 1.147 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004925/0.9252, allocations: 151.6 kB / 1.147 GB, free: 3.449 MB / 0.7448 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 () * 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.0004062/0.9256, allocations: 269.8 kB / 1.147 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.9261, allocations: 291.8 kB / 1.147 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9261, allocations: 0 / 1.147 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.9263, allocations: 159.9 kB / 1.148 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.9269, allocations: 122.7 kB / 1.148 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.9285, allocations: 0.9313 MB / 1.149 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.929, allocations: 0.8784 MB / 1.149 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000223/0.9292, allocations: 52.38 kB / 1.149 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.9293, allocations: 35.44 kB / 1.149 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.9294, allocations: 0 / 1.149 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of Templates: time 0.01358/0.9429, allocations: 7.339 MB / 1.157 GB, free: 9.516 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)