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.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 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001103/0.001103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001172/0.001172, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.28 kB / 0.9116 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2561, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003983/0.2601, allocations: 3.085 MB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.2626, allocations: 2.118 MB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2628, allocations: 11.94 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.2641, allocations: 478.1 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.2643, allocations: 131.1 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2644, allocations: 51.97 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.2649, allocations: 453.4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.2652, allocations: 143.2 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.2654, allocations: 163.3 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2656, allocations: 183.2 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.2656, allocations: 36 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.625e-05/0.2657, allocations: 40 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2658, allocations: 99.61 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.266, allocations: 211 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.2664, allocations: 0.541 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2665, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2665, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2665, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 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.0009662/0.2674, allocations: 0.7045 MB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2675, allocations: 8.031 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.2676, allocations: 56.3 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.268, allocations: 374.1 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.268, allocations: 12.81 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.2681, allocations: 24.38 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.2685, allocations: 203.6 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2685, allocations: 4 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2685, allocations: 4 kB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2686, allocations: 4 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.2689, allocations: 173.6 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2701, allocations: 0.8623 MB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.2704, allocations: 160.2 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2706, allocations: 112.8 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2706, allocations: 0 / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2706, allocations: 38.55 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.2707, allocations: 0 / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005985/0.2713, allocations: 255.1 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2713, allocations: 59.41 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.2717, allocations: 417.7 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2718, allocations: 29.64 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2719, allocations: 208.2 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.272, allocations: 59.11 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.272, allocations: 33.7 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2722, allocations: 350.7 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2723, allocations: 59.97 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2725, allocations: 57.69 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.2728, allocations: 131.2 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2728, allocations: 0 / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000372/0.2731, allocations: 209.1 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2732, allocations: 4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2732, allocations: 8 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2732, allocations: 7.938 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.2734, allocations: 51.91 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2735, allocations: 0 / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2736, allocations: 23.83 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2736, allocations: 4 kB / 1.08 GB, free: 14.17 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 (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.000159/0.2738, allocations: 169.8 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.2739, allocations: 39.53 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.2739, allocations: 39.59 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.274, allocations: 3.938 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.274, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.274, allocations: 3.984 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.2744, allocations: 377.2 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2744, allocations: 4 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.2747, allocations: 51.97 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2747, allocations: 7.938 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2747, allocations: 7.984 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2747, allocations: 3.938 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2747, allocations: 0 / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.2753, allocations: 372.5 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.2754, allocations: 120.6 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.2754, allocations: 8.062 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2756, allocations: 15.92 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.2757, allocations: 11.98 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2757, allocations: 4 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003094/0.276, allocations: 303.1 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.276, allocations: 0 / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003095/0.2763, allocations: 75.84 kB / 1.081 GB, free: 12.49 MB / 0.8419 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.0001245/0.2765, allocations: 107.2 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.2768, allocations: 157.2 kB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2768, allocations: 0 / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.277, allocations: 80.78 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.2776, allocations: 102 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2789, allocations: 0.8647 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2792, allocations: 0.799 MB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.2794, allocations: 38.95 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.2794, allocations: 27.42 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.2794, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.007977/0.2874, allocations: 3.872 MB / 1.087 GB, free: 6.496 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)