Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.565/2.565, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.001612/0.001611, allocations: 185 kB / 370.8 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.382/2.382, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001109/0.001108, allocations: 85.84 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 11.67 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001644/0.2457, allocations: 1.157 MB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2472, allocations: 0.8207 MB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.2473, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2475, allocations: 47.81 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2476, allocations: 15.95 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.2482, allocations: 167.6 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.2483, allocations: 35.94 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.2483, allocations: 4 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.2484, allocations: 23.86 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.2485, allocations: 15.88 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2485, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2489, allocations: 143.8 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.2489, allocations: 7.922 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.2489, allocations: 33.7 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2491, allocations: 80.09 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2491, allocations: 0 / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2492, allocations: 4 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2492, allocations: 0 / 0.9807 GB, free: 25.82 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003158/0.2495, allocations: 361 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2495, allocations: 12.03 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.2496, allocations: 83.12 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2498, allocations: 268.5 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.2498, allocations: 154.5 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.2499, allocations: 154.6 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.592e-05/0.2499, allocations: 109 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.25, allocations: 75.28 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.25, allocations: 150.6 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.25, allocations: 154.5 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.2501, allocations: 154.6 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.2503, allocations: 469.8 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.2504, allocations: 169.1 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2504, allocations: 75.28 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2504, allocations: 113.8 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.634e-06/0.2505, allocations: 0 / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.762e-05/0.2505, allocations: 29.64 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2506, allocations: 130.7 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2507, allocations: 133.9 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2508, allocations: 29.64 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2508, allocations: 96.12 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.2508, allocations: 0 / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-06/0.2508, allocations: 4 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.2509, allocations: 318.8 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.2509, allocations: 7.984 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/0.251, allocations: 0 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.251, allocations: 8 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.251, allocations: 0 / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001242/0.2511, allocations: 45.61 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2512, allocations: 13.7 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.2512, allocations: 0 / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2512, allocations: 3.938 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.2512, allocations: 4.062 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2513, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.2513, allocations: 3.938 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2513, allocations: 4 kB / 0.9839 GB, free: 22.34 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.279e-05/0.2514, allocations: 189.1 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.2515, allocations: 104.9 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.2515, allocations: 120.8 kB / 0.9843 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/0.2516, allocations: 180.3 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.533e-05/0.2516, allocations: 176.3 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/0.2516, allocations: 184.2 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2518, allocations: 417.2 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.2519, allocations: 104.9 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.2519, allocations: 112.9 kB / 0.9854 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.259e-05/0.2519, allocations: 176.3 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.252, allocations: 180.2 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.274e-05/0.252, allocations: 176.3 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.329e-05/0.2521, allocations: 188.4 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.2522, allocations: 311.9 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.2522, allocations: 193.9 kB / 0.9866 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.2523, allocations: 180.2 kB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.2524, allocations: 108.9 kB / 0.9868 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2524, allocations: 176.3 kB / 0.987 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.2525, allocations: 109 kB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001159/0.2526, allocations: 99.2 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2526, allocations: 0 / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003854/0.253, allocations: 35.92 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003301/0.2533, allocations: 218.4 kB / 0.9874 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.2535, allocations: 37.69 kB / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2535, allocations: 0 / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.2535, allocations: 4.062 kB / 0.9875 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.2539, allocations: 0.5224 MB / 0.988 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.2542, allocations: 247.7 kB / 0.9882 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2543, allocations: 0.6848 MB / 0.9889 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.2544, allocations: 4 kB / 0.9889 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.2544, allocations: 7.438 kB / 0.9889 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2544, allocations: 0 / 0.9889 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.005009/0.2594, allocations: 1.472 MB / 0.9903 GB, free: 15.45 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)