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.769/1.769, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001305/0.001305, allocations: 177 kB / 371.8 MB, free: 10.3 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.748/1.748, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.001055/0.001055, allocations: 93.62 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 12.47 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 115.3 MB / 0.9795 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003201/0.255, allocations: 3.27 MB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.2573, allocations: 2.226 MB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.2575, allocations: 12 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.2586, allocations: 484.2 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.2589, allocations: 251.3 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2591, allocations: 75.94 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.2596, allocations: 0.5701 MB / 0.9862 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2599, allocations: 241.5 kB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2601, allocations: 235.1 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2603, allocations: 262.9 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2603, allocations: 36 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.2604, allocations: 36 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.2605, allocations: 127.5 kB / 0.9871 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.2606, allocations: 157.4 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.2611, allocations: 0.7906 MB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2611, allocations: 0 / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2611, allocations: 0 / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2611, allocations: 0 / 0.988 GB, free: 18.91 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.001048/0.2622, allocations: 0.845 MB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2622, allocations: 12.02 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2623, allocations: 75.16 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.2628, allocations: 444.6 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2628, allocations: 37 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.2629, allocations: 48 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.2635, allocations: 426.4 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2635, allocations: 0 / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.2636, allocations: 16 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2636, allocations: 12 kB / 0.9898 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.2642, allocations: 383.7 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2658, allocations: 1.543 MB / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.2663, allocations: 342.7 kB / 0.992 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2663, allocations: 4 kB / 0.992 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.2663, allocations: 38.52 kB / 0.9921 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.443e-06/0.2664, allocations: 0.7656 kB / 0.9921 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0008118/0.2672, allocations: 0.499 MB / 0.9926 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.2672, allocations: 63.34 kB / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.2676, allocations: 485.9 kB / 0.9931 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2677, allocations: 29.7 kB / 0.9931 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2678, allocations: 280.3 kB / 0.9934 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.2679, allocations: 145.8 kB / 0.9935 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2679, allocations: 7.938 kB / 0.9935 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.268, allocations: 362.8 kB / 0.9939 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2682, allocations: 128.7 kB / 0.994 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2684, allocations: 129.2 kB / 0.9941 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.2686, allocations: 142.6 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2687, allocations: 4 kB / 0.9943 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005295/0.2692, allocations: 403.8 kB / 0.9946 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2692, allocations: 9.359 kB / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2692, allocations: 0 / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2692, allocations: 4 kB / 0.9947 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.2697, allocations: 131.8 kB / 0.9948 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2697, allocations: 4 kB / 0.9948 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.27, allocations: 47.66 kB / 0.9948 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.27, allocations: 16 kB / 0.9948 GB, free: 11.64 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.0001681/0.2702, allocations: 194.1 kB / 0.995 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.2702, allocations: 51.34 kB / 0.9951 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.2704, allocations: 69.05 kB / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2704, allocations: 7.984 kB / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2704, allocations: 0 / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2704, allocations: 0 / 0.9951 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.2709, allocations: 0.5673 MB / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2709, allocations: 0 / 0.9957 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.2714, allocations: 135.8 kB / 0.9958 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2714, allocations: 4 kB / 0.9958 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2714, allocations: 8 kB / 0.9958 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2714, allocations: 3.953 kB / 0.9958 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2714, allocations: 3.938 kB / 0.9959 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.2722, allocations: 0.6698 MB / 0.9965 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.2723, allocations: 136.4 kB / 0.9966 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.2724, allocations: 8 kB / 0.9966 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2726, allocations: 27.92 kB / 0.9967 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.2727, allocations: 31.91 kB / 0.9967 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2727, allocations: 12 kB / 0.9967 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002903/0.273, allocations: 343.1 kB / 0.997 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.273, allocations: 0 / 0.997 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003518/0.2734, allocations: 143.6 kB / 0.9972 GB, free: 9.152 MB / 0.6198 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.0001462/0.2735, allocations: 119.2 kB / 0.9973 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.274, allocations: 324 kB / 0.9976 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.274, allocations: 0 / 0.9976 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.2743, allocations: 191.6 kB / 0.9978 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.2749, allocations: 113.2 kB / 0.9979 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2766, allocations: 1.445 MB / 0.9993 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2769, allocations: 0.8785 MB / 1 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.2771, allocations: 64.38 kB / 1 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.2772, allocations: 31.44 kB / 1 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2772, allocations: 4 kB / 1 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of Templates: time 0.008462/0.2856, allocations: 5.364 MB / 1.005 GB, free: 0.6992 MB / 0.6198 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)