Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001467/0.001467, 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.002011/0.002012, allocations: 198.8 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.16 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2651, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004298/0.2695, allocations: 3.072 MB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.272, allocations: 2.154 MB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2722, allocations: 8 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2735, allocations: 478 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.2738, allocations: 131.1 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.2739, allocations: 51.97 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.2744, allocations: 464.9 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.2746, allocations: 127.9 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2748, allocations: 147.3 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.275, allocations: 187.1 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.275, allocations: 24 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.2751, allocations: 20 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2752, allocations: 83.67 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2754, allocations: 206.9 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.2758, allocations: 0.5371 MB / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2758, allocations: 0 / 0.7902 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2758, allocations: 3.938 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2758, allocations: 0 / 0.7902 GB, free: 6.27 MB / 0.6075 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.001036/0.2768, allocations: 0.7045 MB / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2769, allocations: 8.031 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.277, allocations: 44.38 kB / 0.7909 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.2774, allocations: 378 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2775, allocations: 12.81 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.2775, allocations: 20.38 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.2779, allocations: 215.6 kB / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2779, allocations: 0 / 0.7915 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.278, allocations: 8 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.278, allocations: 4 kB / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.2783, allocations: 165.7 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2795, allocations: 0.8661 MB / 0.7925 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.2798, allocations: 154.6 kB / 0.7927 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.28, allocations: 115.9 kB / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.28, allocations: 4 kB / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.28, allocations: 34.56 kB / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.2801, allocations: 0 / 0.7928 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006086/0.2807, allocations: 263.9 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.2807, allocations: 55.41 kB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.2812, allocations: 417.7 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2812, allocations: 33.7 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.2813, allocations: 204.2 kB / 0.7938 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.2814, allocations: 63.09 kB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.2814, allocations: 29.72 kB / 0.7938 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2816, allocations: 354.8 kB / 0.7942 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2817, allocations: 51.97 kB / 0.7942 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2819, allocations: 55.92 kB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2821, allocations: 143.3 kB / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2821, allocations: 0 / 0.7944 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003642/0.2825, allocations: 209.1 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2825, allocations: 4 kB / 0.7946 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2826, allocations: 0 / 0.7946 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2826, allocations: 3.938 kB / 0.7946 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.2828, allocations: 59.89 kB / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2829, allocations: 0 / 0.7947 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.283, allocations: 27.83 kB / 0.7947 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.283, allocations: 11.94 kB / 0.7947 GB, free: 1.375 MB / 0.6075 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.000139/0.2832, allocations: 158.5 kB / 0.7949 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.2832, allocations: 35.53 kB / 0.7949 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.967e-05/0.2833, allocations: 47.52 kB / 0.795 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2833, allocations: 7.938 kB / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2833, allocations: 0 / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2833, allocations: 0 / 0.795 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.2837, allocations: 373.3 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2837, allocations: 0 / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.284, allocations: 63.89 kB / 0.7954 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.284, allocations: 0 / 0.7954 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.284, allocations: 7.938 kB / 0.7954 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.284, allocations: 0 / 0.7954 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.284, allocations: 4 kB / 0.7954 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.2846, allocations: 374.9 kB / 0.7958 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.2847, allocations: 116.7 kB / 0.7959 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.2847, allocations: 7.938 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2849, allocations: 11.98 kB / 0.7959 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.285, allocations: 15.92 kB / 0.7959 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.285, allocations: 4 kB / 0.7959 GB, free: 76 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003391/0.2853, allocations: 303.2 kB / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2853, allocations: 0 / 0.7962 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002835/0.2856, allocations: 71.84 kB / 0.7963 GB, free: 15.71 MB / 0.6231 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.0001282/0.2858, allocations: 111.3 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.2861, allocations: 146.4 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2861, allocations: 0 / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2863, allocations: 78.41 kB / 0.7966 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.287, allocations: 89.44 kB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2882, allocations: 0.8684 MB / 0.7975 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2886, allocations: 0.807 MB / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.2887, allocations: 34.95 kB / 0.7983 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.2887, allocations: 27.44 kB / 0.7984 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2888, allocations: 0 / 0.7984 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.006972/0.2957, allocations: 3.702 MB / 0.802 GB, free: 9.906 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)