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.00097/0.00097, allocations: 97.95 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.007178/0.007178, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 15.16 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, 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.003896/0.2617, allocations: 3.781 MB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002909/0.2646, allocations: 2.336 MB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.2649, allocations: 12 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.2662, allocations: 0.5057 MB / 1.081 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.2666, allocations: 210.5 kB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2668, allocations: 123.8 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.2676, allocations: 0.8059 MB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.268, allocations: 276.2 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.2683, allocations: 234.9 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2686, allocations: 290.6 kB / 1.083 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.2686, allocations: 32 kB / 1.083 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.11e-05/0.2687, allocations: 36 kB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.2689, allocations: 135.4 kB / 1.083 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.2692, allocations: 364 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.2699, allocations: 0.9301 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2699, allocations: 0 / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2699, allocations: 3.938 kB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2699, allocations: 0 / 1.084 GB, free: 13.39 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.00122/0.2712, allocations: 0.8413 MB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2712, allocations: 8.031 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2713, allocations: 72.09 kB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.2719, allocations: 465.6 kB / 1.085 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.2719, allocations: 37.38 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.272, allocations: 48.38 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.2728, allocations: 434.8 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2728, allocations: 3.906 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.2728, allocations: 23.94 kB / 1.086 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2729, allocations: 12 kB / 1.086 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.2736, allocations: 379.8 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.2756, allocations: 1.539 MB / 1.088 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.2762, allocations: 339.7 kB / 1.088 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.2767, allocations: 330.6 kB / 1.088 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2767, allocations: 4 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2767, allocations: 38.44 kB / 1.088 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.2767, allocations: 0 / 1.088 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.0009762/0.2777, allocations: 0.5137 MB / 1.089 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2778, allocations: 55.41 kB / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.2783, allocations: 485.9 kB / 1.089 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2784, allocations: 33.7 kB / 1.089 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.2786, allocations: 276.3 kB / 1.09 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2787, allocations: 149.9 kB / 1.09 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.2787, allocations: 33.7 kB / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2789, allocations: 358.8 kB / 1.09 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2791, allocations: 132.7 kB / 1.09 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.2794, allocations: 125.5 kB / 1.09 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.28, allocations: 314.5 kB / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.28, allocations: 0 / 1.091 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000676/0.2806, allocations: 408.4 kB / 1.091 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2807, allocations: 5.406 kB / 1.091 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2807, allocations: 4 kB / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2807, allocations: 0 / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.2812, allocations: 127.9 kB / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2812, allocations: 0 / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.2815, allocations: 59.5 kB / 1.091 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2816, allocations: 15.94 kB / 1.091 GB, free: 5.57 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.0002135/0.2818, allocations: 193.8 kB / 1.092 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.2819, allocations: 55.38 kB / 1.092 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.282, allocations: 61.09 kB / 1.092 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.282, allocations: 4 kB / 1.092 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.282, allocations: 8 kB / 1.092 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.282, allocations: 7.922 kB / 1.092 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.2827, allocations: 0.5749 MB / 1.092 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2827, allocations: 0 / 1.092 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.2832, allocations: 131.8 kB / 1.092 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2832, allocations: 8 kB / 1.092 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.2833, allocations: 4 kB / 1.092 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.2833, allocations: 4 kB / 1.092 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2833, allocations: 0 / 1.092 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2843, allocations: 0.6622 MB / 1.093 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2844, allocations: 140.3 kB / 1.093 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.2845, allocations: 8 kB / 1.093 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.2847, allocations: 23.89 kB / 1.093 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.2848, allocations: 27.97 kB / 1.093 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2848, allocations: 8 kB / 1.093 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003906/0.2852, allocations: 355.1 kB / 1.094 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2852, allocations: 0 / 1.094 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004015/0.2856, allocations: 143.6 kB / 1.094 GB, free: 3.082 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.0001355/0.2858, allocations: 111.2 kB / 1.094 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006292/0.2864, allocations: 332.3 kB / 1.094 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2864, allocations: 4 kB / 1.094 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.2868, allocations: 183.6 kB / 1.094 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/0.2875, allocations: 134.3 kB / 1.094 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2895, allocations: 1.499 MB / 1.096 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.2899, allocations: 0.8784 MB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.2901, allocations: 52.38 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.2902, allocations: 35.44 kB / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of SimCode: time 6.62e-07/0.2902, allocations: 0 / 1.097 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Templates: time 0.01044/0.3007, allocations: 5.568 MB / 1.102 GB, free: 10.38 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)