Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001616/0.001616, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001848/0.001848, allocations: 188.7 kB / 16.25 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.659/2.659, allocations: 472.6 MB / 0.7448 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.81 kB / 0.9116 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2721, 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.004292/0.2764, allocations: 3.089 MB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.2789, allocations: 2.11 MB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.279, allocations: 4 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.2802, allocations: 486.1 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.2804, allocations: 127.1 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.2806, allocations: 51.97 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.281, allocations: 449.1 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.2812, allocations: 155.2 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2814, allocations: 163.3 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.2816, allocations: 183.1 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.2817, allocations: 36 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.2817, allocations: 32 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2818, allocations: 99.66 kB / 1.075 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.282, allocations: 222.9 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.2824, allocations: 0.5372 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2824, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2824, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2825, allocations: 4 kB / 1.075 GB, free: 3.055 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.0009379/0.2834, allocations: 0.7045 MB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2834, allocations: 11.97 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.2835, allocations: 48.38 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2839, allocations: 370.1 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.284, allocations: 16.81 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.284, allocations: 24.38 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.2844, allocations: 199.5 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2844, allocations: 7.984 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2844, allocations: 8 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2844, allocations: 4 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.2848, allocations: 169.7 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2859, allocations: 0.8661 MB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.2862, allocations: 158.5 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.2864, allocations: 110.5 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2864, allocations: 0 / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.2864, allocations: 34.56 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 9.01e-07/0.2864, allocations: 0 / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0005719/0.287, allocations: 262.8 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.2871, allocations: 55.41 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.2875, allocations: 417.7 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2875, allocations: 25.7 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2876, allocations: 208.2 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.2877, allocations: 63.11 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.2878, allocations: 29.7 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2879, allocations: 350.8 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.288, allocations: 55.97 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2882, allocations: 51.97 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2885, allocations: 138.9 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2885, allocations: 0 / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003577/0.2888, allocations: 215.1 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2889, allocations: 4 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2889, allocations: 0 / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2889, allocations: 3.938 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2891, allocations: 51.97 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2891, allocations: 0 / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.2893, allocations: 27.83 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2893, allocations: 4 kB / 1.08 GB, free: 14.18 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.0001456/0.2895, allocations: 167.5 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.2895, allocations: 35.53 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.2896, allocations: 43.53 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2896, allocations: 7.984 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2896, allocations: 0 / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2896, allocations: 4 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.29, allocations: 377.2 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.29, allocations: 3.938 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.2903, allocations: 63.89 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2903, allocations: 0 / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2903, allocations: 3.938 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2903, allocations: 8 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2903, allocations: 0 / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.2909, allocations: 376.3 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-05/0.291, allocations: 120.6 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2911, allocations: 7.938 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.2912, allocations: 11.98 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.2913, allocations: 7.984 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2913, allocations: 8 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003023/0.2916, allocations: 307.2 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.194e-06/0.2916, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002898/0.2919, allocations: 79.78 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.0001147/0.292, allocations: 103.2 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.2924, allocations: 147.8 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2924, allocations: 0 / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2926, allocations: 85.31 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.2931, allocations: 93.42 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2943, allocations: 0.8706 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2947, allocations: 0.8067 MB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.2948, allocations: 34.95 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.2948, allocations: 23.44 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2948, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.006984/0.3018, allocations: 3.869 MB / 1.087 GB, free: 6.508 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)