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 2.671/2.671, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001529/0.001529, allocations: 183.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009891/0.0009891, allocations: 100.9 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.000664, allocations: 16.86 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2334, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00485/0.2384, allocations: 3.592 MB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.2424, allocations: 2.257 MB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.243, allocations: 8 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.2449, allocations: 449.9 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.2457, allocations: 218.4 kB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.2461, allocations: 87.91 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009416/0.247, allocations: 0.7484 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005037/0.2476, allocations: 249.5 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.248, allocations: 227.1 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2484, allocations: 282.7 kB / 0.9863 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.2485, allocations: 32 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2486, allocations: 36 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2488, allocations: 123.5 kB / 0.9865 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.2489, allocations: 165.3 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.2497, allocations: 0.7944 MB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2497, allocations: 4 kB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2497, allocations: 0 / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.2497, allocations: 0 / 0.9874 GB, free: 19.06 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.001684/0.2514, allocations: 0.8488 MB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2515, allocations: 12.02 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.2516, allocations: 71.16 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.2524, allocations: 444.7 kB / 0.9887 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.2524, allocations: 33 kB / 0.9888 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.717e-05/0.2525, allocations: 48 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2536, allocations: 426.5 kB / 0.9892 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2536, allocations: 0 / 0.9892 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.2537, allocations: 20 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.2537, allocations: 15.98 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.2548, allocations: 379.8 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.2575, allocations: 1.532 MB / 0.9911 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.2583, allocations: 342.9 kB / 0.9914 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006958/0.259, allocations: 357.1 kB / 0.9918 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.2591, allocations: 8 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2591, allocations: 50.27 kB / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 4.308e-06/0.2592, allocations: 0 / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.001395/0.2606, allocations: 0.4971 MB / 0.9923 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2606, allocations: 55.41 kB / 0.9924 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.2613, allocations: 481.9 kB / 0.9928 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.2614, allocations: 33.7 kB / 0.9929 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.2616, allocations: 276.3 kB / 0.9931 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2617, allocations: 149.8 kB / 0.9933 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.2617, allocations: 8 kB / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2619, allocations: 366.8 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.2622, allocations: 120.7 kB / 0.9937 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.2626, allocations: 138.1 kB / 0.9939 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.2631, allocations: 146.6 kB / 0.994 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2631, allocations: 7.891 kB / 0.994 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001099/0.2643, allocations: 399.8 kB / 0.9944 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2643, allocations: 4 kB / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2643, allocations: 0 / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.2643, allocations: 4 kB / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.2652, allocations: 131.8 kB / 0.9945 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2653, allocations: 4 kB / 0.9945 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.2657, allocations: 59.56 kB / 0.9946 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.2658, allocations: 8 kB / 0.9946 GB, free: 11.43 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.0002973/0.2661, allocations: 189.8 kB / 0.9948 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.2662, allocations: 55.38 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.2663, allocations: 69.03 kB / 0.9949 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2663, allocations: 4 kB / 0.9949 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2664, allocations: 4 kB / 0.9949 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2664, allocations: 3.984 kB / 0.9949 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.2672, allocations: 0.5673 MB / 0.9955 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2672, allocations: 4 kB / 0.9955 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.2682, allocations: 131.8 kB / 0.9956 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2682, allocations: 0 / 0.9956 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.2682, allocations: 8 kB / 0.9956 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2683, allocations: 0 / 0.9956 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2683, allocations: 0 / 0.9956 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2697, allocations: 0.6674 MB / 0.9963 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.2698, allocations: 136.5 kB / 0.9964 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.27, allocations: 7.953 kB / 0.9964 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2704, allocations: 27.89 kB / 0.9964 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.2705, allocations: 23.97 kB / 0.9964 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.2705, allocations: 12 kB / 0.9965 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005072/0.271, allocations: 351 kB / 0.9968 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.271, allocations: 0 / 0.9968 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005429/0.2716, allocations: 139.7 kB / 0.9969 GB, free: 8.961 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.0001424/0.2717, allocations: 119.1 kB / 0.997 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.2726, allocations: 332.1 kB / 0.9974 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2726, allocations: 0 / 0.9974 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.2731, allocations: 187.8 kB / 0.9975 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2741, allocations: 127 kB / 0.9977 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.2767, allocations: 1.445 MB / 0.9991 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2771, allocations: 0.8707 MB / 0.9999 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.2774, allocations: 56.39 kB / 1 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.2776, allocations: 35.44 kB / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2776, allocations: 0 / 1 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of Templates: time 0.01506/0.2926, allocations: 5.387 MB / 1.005 GB, free: 488 kB / 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)