Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008074/0.008074, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.707/2.707, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.000327, allocations: 9.438 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003928/0.2681, allocations: 3.778 MB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002949/0.271, allocations: 2.34 MB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.2713, allocations: 12 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2726, allocations: 0.5018 MB / 1.081 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.273, allocations: 222.4 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2733, allocations: 115.9 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.274, allocations: 0.8098 MB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2744, allocations: 272.2 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2747, allocations: 242.9 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.275, allocations: 286.6 kB / 1.083 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.2751, allocations: 32 kB / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.2751, allocations: 40 kB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2753, allocations: 123.5 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.2756, allocations: 367.9 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/0.2763, allocations: 0.9418 MB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2763, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2763, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2764, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 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.001224/0.2776, allocations: 0.8335 MB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2776, allocations: 15.97 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.2777, allocations: 76.08 kB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.2783, allocations: 457.6 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.2783, allocations: 37.38 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.2784, allocations: 48.38 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.2792, allocations: 434.8 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.2792, allocations: 3.906 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.2793, allocations: 27.94 kB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2793, allocations: 12 kB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.2801, allocations: 375.8 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.2822, allocations: 1.543 MB / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.2828, allocations: 339.7 kB / 1.088 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.2833, allocations: 330.6 kB / 1.088 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2833, allocations: 4 kB / 1.088 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2834, allocations: 46.44 kB / 1.088 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.2834, allocations: 0 / 1.088 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.001005/0.2844, allocations: 0.5059 MB / 1.089 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.2844, allocations: 55.41 kB / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.285, allocations: 489.9 kB / 1.089 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.285, allocations: 29.7 kB / 1.089 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.2852, allocations: 284.3 kB / 1.09 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2854, allocations: 141.9 kB / 1.09 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.2854, allocations: 33.7 kB / 1.09 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2856, allocations: 358.8 kB / 1.09 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.2858, allocations: 124.7 kB / 1.09 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.2861, allocations: 137.4 kB / 1.09 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.2867, allocations: 302.6 kB / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2867, allocations: 0 / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006864/0.2874, allocations: 408.3 kB / 1.091 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2874, allocations: 8 kB / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2874, allocations: 0 / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2874, allocations: 0 / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.2879, allocations: 139.8 kB / 1.091 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.288, allocations: 3.984 kB / 1.091 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.2883, allocations: 55.52 kB / 1.091 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2883, allocations: 12 kB / 1.091 GB, free: 5.562 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.2885, allocations: 201.7 kB / 1.092 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.2886, allocations: 51.38 kB / 1.092 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2887, allocations: 65.09 kB / 1.092 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2887, allocations: 4 kB / 1.092 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2887, allocations: 0 / 1.092 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2887, allocations: 0 / 1.092 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.2894, allocations: 0.5749 MB / 1.092 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2894, allocations: 0 / 1.092 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.29, allocations: 135.8 kB / 1.092 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.29, allocations: 0 / 1.092 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.29, allocations: 12 kB / 1.092 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.29, allocations: 3.938 kB / 1.092 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.29, allocations: 0 / 1.092 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.291, allocations: 0.6622 MB / 1.093 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2912, allocations: 140.4 kB / 1.093 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.2912, allocations: 8 kB / 1.093 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2915, allocations: 31.88 kB / 1.093 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.2916, allocations: 19.97 kB / 1.093 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2916, allocations: 12 kB / 1.093 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003909/0.292, allocations: 351.1 kB / 1.094 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.292, allocations: 0 / 1.094 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004041/0.2924, allocations: 135.7 kB / 1.094 GB, free: 3.086 MB / 0.8419 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 (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.0001389/0.2925, allocations: 120.4 kB / 1.094 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.2932, allocations: 332.2 kB / 1.094 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2932, allocations: 0 / 1.094 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.2935, allocations: 187.6 kB / 1.094 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.2943, allocations: 137.8 kB / 1.094 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.2962, allocations: 1.492 MB / 1.096 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.2966, allocations: 0.8746 MB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.2968, allocations: 48.41 kB / 1.097 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2969, allocations: 39.42 kB / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2969, allocations: 4 kB / 1.097 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.01039/0.3073, allocations: 5.564 MB / 1.102 GB, free: 10.38 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)