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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.00119/0.00119, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.2 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004075/0.2672, allocations: 3.043 MB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2698, allocations: 2.145 MB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2699, allocations: 8 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.2712, allocations: 0.4938 MB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2715, allocations: 154.8 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.2716, allocations: 59.94 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.272, allocations: 445.9 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.2722, allocations: 151.2 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2724, allocations: 159.3 kB / 1.075 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2726, allocations: 175.2 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.2727, allocations: 36 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.2728, allocations: 36 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2729, allocations: 99.61 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2731, allocations: 218.9 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.2735, allocations: 0.5411 MB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2735, allocations: 0 / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2735, allocations: 0 / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.2735, allocations: 0 / 1.076 GB, free: 2.645 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.0009363/0.2744, allocations: 0.7045 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2745, allocations: 8.031 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.2746, allocations: 48.38 kB / 1.077 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.275, allocations: 374.1 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.275, allocations: 12.81 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.275, allocations: 24.38 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.2754, allocations: 199.6 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2754, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2755, allocations: 7.984 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2755, allocations: 8 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.2759, allocations: 169.6 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2769, allocations: 0.8623 MB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.2772, allocations: 162.5 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2774, allocations: 116.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2775, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2775, allocations: 38.56 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.2775, allocations: 0 / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0005675/0.2781, allocations: 254.7 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2781, allocations: 51.41 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.2785, allocations: 421.7 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2786, allocations: 25.7 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2787, allocations: 208.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.2788, allocations: 67.03 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.2788, allocations: 37.7 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2789, allocations: 346.8 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2791, allocations: 55.91 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2792, allocations: 61.69 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.2795, allocations: 135.2 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2795, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003702/0.2799, allocations: 205.1 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2799, allocations: 8 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2799, allocations: 0 / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.28, allocations: 7.938 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2802, allocations: 51.91 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2802, allocations: 11.97 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2804, allocations: 15.84 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2804, allocations: 4 kB / 1.08 GB, free: 13.76 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.0001403/0.2806, allocations: 161.8 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.2806, allocations: 39.47 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.2807, allocations: 43.53 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2807, allocations: 8 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2807, allocations: 0 / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2807, allocations: 3.984 kB / 1.081 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.2811, allocations: 377.3 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2811, allocations: 0 / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.2814, allocations: 55.91 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2814, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2814, allocations: 15.92 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2814, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2814, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.282, allocations: 376 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.2821, allocations: 120.6 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2821, allocations: 7.938 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.2823, allocations: 7.984 kB / 1.081 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.2823, allocations: 16.05 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2824, allocations: 8 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002955/0.2827, allocations: 303.1 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2827, allocations: 0 / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002956/0.283, allocations: 71.84 kB / 1.082 GB, free: 12.08 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.0001186/0.2831, allocations: 103.8 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003775/0.2835, allocations: 162.8 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2835, allocations: 4 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2837, allocations: 79.91 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.2842, allocations: 99.23 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.2854, allocations: 0.7549 MB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2857, allocations: 0.7951 MB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.2858, allocations: 34.95 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.2859, allocations: 23.44 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.2859, allocations: 0 / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.007251/0.2931, allocations: 3.955 MB / 1.088 GB, free: 6.141 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)