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.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_3.0.0_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_3.0.0_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.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001177/0.001177, allocations: 194.8 kB / 16.14 MB, free: 6.66 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.05 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2707, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005317/0.276, allocations: 4.185 MB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003609/0.2797, allocations: 2.379 MB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2799, allocations: 8 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.2813, allocations: 0.5052 MB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.2817, allocations: 214.5 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.2819, allocations: 115.9 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.2825, allocations: 0.8059 MB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.2829, allocations: 284.1 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.2832, allocations: 274.8 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.2836, allocations: 314.6 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.2836, allocations: 48 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2837, allocations: 48 kB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2839, allocations: 135.5 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.2842, allocations: 362.2 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.2849, allocations: 0.9654 MB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2849, allocations: 0 / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2849, allocations: 0 / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.285, allocations: 0 / 1.078 GB, free: 168 kB / 0.8262 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.001434/0.2864, allocations: 0.9463 MB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2864, allocations: 8.031 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2865, allocations: 76.09 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.2871, allocations: 465.5 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2871, allocations: 33.38 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.071e-05/0.2872, allocations: 48.38 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.288, allocations: 430.8 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.288, allocations: 11.94 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.288, allocations: 20 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.288, allocations: 12 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.2888, allocations: 363.8 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2907, allocations: 1.531 MB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.2912, allocations: 331.7 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.2917, allocations: 322.6 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.2918, allocations: 7.938 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2918, allocations: 46.5 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.2918, allocations: 0 / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.0009575/0.2928, allocations: 0.494 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2928, allocations: 55.41 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.2933, allocations: 485.9 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2934, allocations: 29.7 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.2936, allocations: 280.3 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2937, allocations: 149.8 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.2938, allocations: 62.08 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2939, allocations: 362.8 kB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.2942, allocations: 120.7 kB / 1.084 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.2944, allocations: 121.5 kB / 1.084 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.2949, allocations: 302.2 kB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.295, allocations: 3.938 kB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006446/0.2956, allocations: 396.2 kB / 1.085 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2956, allocations: 4 kB / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2956, allocations: 0 / 1.085 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2957, allocations: 7.938 kB / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.2962, allocations: 123.9 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2962, allocations: 4 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.2965, allocations: 47.56 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2965, allocations: 12 kB / 1.085 GB, free: 8.305 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.0002044/0.2967, allocations: 193.8 kB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.2968, allocations: 59.36 kB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.59e-05/0.2969, allocations: 61.11 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2969, allocations: 4 kB / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2969, allocations: 0 / 1.086 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2969, allocations: 3.984 kB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.2976, allocations: 0.5749 MB / 1.086 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2976, allocations: 3.984 kB / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.2981, allocations: 131.7 kB / 1.086 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2981, allocations: 0 / 1.086 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.2982, allocations: 12 kB / 1.086 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2982, allocations: 0 / 1.086 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2982, allocations: 4 kB / 1.086 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/0.2991, allocations: 0.6429 MB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2993, allocations: 140.4 kB / 1.087 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.2993, allocations: 12 kB / 1.087 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2996, allocations: 27.97 kB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.2997, allocations: 23.97 kB / 1.087 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2997, allocations: 4 kB / 1.087 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003852/0.3001, allocations: 355.1 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3001, allocations: 0 / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003962/0.3005, allocations: 143.7 kB / 1.088 GB, free: 5.84 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.0001434/0.3007, allocations: 116.9 kB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.3012, allocations: 324.2 kB / 1.088 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3012, allocations: 0 / 1.088 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.3016, allocations: 183.6 kB / 1.088 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.3023, allocations: 114.4 kB / 1.088 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.3042, allocations: 1.419 MB / 1.09 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3046, allocations: 0.8668 MB / 1.091 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.3048, allocations: 56.31 kB / 1.091 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3049, allocations: 35.44 kB / 1.091 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3049, allocations: 7.938 kB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.01005/0.315, allocations: 5.607 MB / 1.096 GB, free: 13.2 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)