Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 197 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 70.95 kB / 0.6723 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2334, allocations: 114.6 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004413/0.2378, allocations: 3.034 MB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2406, allocations: 2.188 MB / 0.7893 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2408, allocations: 8 kB / 0.7893 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.2422, allocations: 0.4899 MB / 0.7898 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.2425, allocations: 150.8 kB / 0.7899 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.2426, allocations: 59.92 kB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.243, allocations: 445.8 kB / 0.7904 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2433, allocations: 147.2 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.2435, allocations: 159.4 kB / 0.7907 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2437, allocations: 183.1 kB / 0.7908 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.2438, allocations: 36 kB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.2438, allocations: 32 kB / 0.7909 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.2439, allocations: 99.66 kB / 0.791 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2441, allocations: 218.9 kB / 0.7912 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.2446, allocations: 0.5527 MB / 0.7918 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2446, allocations: 4 kB / 0.7918 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2446, allocations: 3.938 kB / 0.7918 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2446, allocations: 0 / 0.7918 GB, free: 4.887 MB / 0.6075 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.0009561/0.2456, allocations: 0.6928 MB / 0.7924 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2456, allocations: 12.03 kB / 0.7925 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.2457, allocations: 44.38 kB / 0.7925 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.2463, allocations: 378.1 kB / 0.7929 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.2463, allocations: 16.81 kB / 0.7929 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.2463, allocations: 20.38 kB / 0.7929 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.2467, allocations: 207.5 kB / 0.7931 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2467, allocations: 0 / 0.7931 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2468, allocations: 8 kB / 0.7931 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2468, allocations: 12 kB / 0.7931 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.2472, allocations: 161.6 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2482, allocations: 0.8622 MB / 0.7941 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2485, allocations: 154.5 kB / 0.7943 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.2487, allocations: 108.8 kB / 0.7944 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2488, allocations: 8 kB / 0.7944 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2488, allocations: 30.56 kB / 0.7944 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.2488, allocations: 0 / 0.7944 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005636/0.2494, allocations: 263.7 kB / 0.7946 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2494, allocations: 55.41 kB / 0.7947 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.2499, allocations: 413.7 kB / 0.7951 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2499, allocations: 29.7 kB / 0.7951 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.25, allocations: 208.2 kB / 0.7953 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.2501, allocations: 55.11 kB / 0.7954 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.2502, allocations: 41.7 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2503, allocations: 346.8 kB / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2505, allocations: 59.91 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2506, allocations: 59.92 kB / 0.7959 GB, free: 476 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2509, allocations: 139.6 kB / 0.796 GB, free: 336 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2509, allocations: 0 / 0.796 GB, free: 336 kB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003659/0.2513, allocations: 209.1 kB / 0.7962 GB, free: 120 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2513, allocations: 8 kB / 0.7962 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2513, allocations: 3.984 kB / 0.7962 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2513, allocations: 3.938 kB / 0.7962 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2516, allocations: 55.97 kB / 0.7963 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2516, allocations: 0 / 0.7963 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2517, allocations: 15.83 kB / 0.7963 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2518, allocations: 12 kB / 0.7963 GB, free: 20 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.252, allocations: 166.4 kB / 0.7964 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.252, allocations: 39.53 kB / 0.7965 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.2521, allocations: 39.53 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2521, allocations: 7.938 kB / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2521, allocations: 0 / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2521, allocations: 0 / 0.7965 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.2526, allocations: 373.3 kB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2526, allocations: 0 / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.2528, allocations: 59.91 kB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2528, allocations: 0 / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2528, allocations: 7.938 kB / 0.7969 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2529, allocations: 4 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2529, allocations: 0 / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.2535, allocations: 381.3 kB / 0.7973 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2536, allocations: 112.7 kB / 0.7974 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.2537, allocations: 11.94 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2538, allocations: 11.98 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.2539, allocations: 7.984 kB / 0.7975 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2539, allocations: 4 kB / 0.7975 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003393/0.2542, allocations: 307.1 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2542, allocations: 0 / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003163/0.2546, allocations: 71.84 kB / 0.7978 GB, free: 14.35 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.2547, allocations: 111.2 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.2551, allocations: 146.6 kB / 0.7981 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2551, allocations: 3.938 kB / 0.7981 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2553, allocations: 79.89 kB / 0.7981 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.2558, allocations: 106.8 kB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2571, allocations: 0.7573 MB / 0.799 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.2574, allocations: 0.799 MB / 0.7998 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.2575, allocations: 30.97 kB / 0.7998 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.2576, allocations: 23.44 kB / 0.7998 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2576, allocations: 4 kB / 0.7998 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.007805/0.2654, allocations: 3.942 MB / 0.8037 GB, free: 8.418 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)