Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007786/0.0007786, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.005608/0.005608, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.356/1.356, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005312/0.0005312, allocations: 22.56 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1984, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001586/0.2, allocations: 1.205 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2014, allocations: 0.9397 MB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.2015, allocations: 3.938 kB / 0.79 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2017, allocations: 47.81 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.2018, allocations: 19.84 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.2023, allocations: 166.1 kB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.2024, allocations: 47.72 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.2024, allocations: 4 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.2025, allocations: 19.92 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.2025, allocations: 19.88 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.2026, allocations: 0 / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.2029, allocations: 147.8 kB / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.2029, allocations: 0 / 0.7904 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.2029, allocations: 49.56 kB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.2031, allocations: 123.9 kB / 0.7906 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2032, allocations: 0 / 0.7906 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2032, allocations: 0 / 0.7906 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2032, allocations: 0 / 0.7906 GB, free: 8.75 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003017/0.2035, allocations: 363.3 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2035, allocations: 12.03 kB / 0.791 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.2036, allocations: 80.12 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2038, allocations: 259.5 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.2038, allocations: 154.9 kB / 0.7914 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.2039, allocations: 150.9 kB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.095e-05/0.204, allocations: 113.3 kB / 0.7917 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.204, allocations: 79.22 kB / 0.7918 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.204, allocations: 150.6 kB / 0.7919 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.2041, allocations: 150.6 kB / 0.792 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.2041, allocations: 150.6 kB / 0.7922 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.2044, allocations: 465.9 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.127e-05/0.2045, allocations: 181 kB / 0.7928 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.2045, allocations: 84.08 kB / 0.7929 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2046, allocations: 75.28 kB / 0.793 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.2046, allocations: 109.8 kB / 0.7931 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2046, allocations: 4 kB / 0.7931 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.073e-05/0.2047, allocations: 33.61 kB / 0.7931 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2048, allocations: 126.7 kB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2049, allocations: 132.8 kB / 0.7933 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2049, allocations: 25.7 kB / 0.7934 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.205, allocations: 96.11 kB / 0.7935 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.205, allocations: 0 / 0.7935 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.205, allocations: 17.72 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.2051, allocations: 314.8 kB / 0.7938 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.2051, allocations: 15.92 kB / 0.7938 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.2051, allocations: 0 / 0.7938 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.496e-05/0.2052, allocations: 16.86 kB / 0.7938 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2052, allocations: 0 / 0.7938 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.2053, allocations: 53.53 kB / 0.7939 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2053, allocations: 4 kB / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2053, allocations: 0 / 0.7939 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2054, allocations: 4 kB / 0.7939 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2054, allocations: 4.062 kB / 0.7939 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2054, allocations: 0 / 0.7939 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.2054, allocations: 3.938 kB / 0.7939 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2054, allocations: 0 / 0.7939 GB, free: 5.16 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.651e-05/0.2055, allocations: 189.7 kB / 0.7941 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.2056, allocations: 116.9 kB / 0.7942 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.2056, allocations: 112.8 kB / 0.7943 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.459e-05/0.2057, allocations: 188.2 kB / 0.7945 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-05/0.2058, allocations: 184.4 kB / 0.7946 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.151e-05/0.2058, allocations: 180.2 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.2061, allocations: 417.2 kB / 0.7952 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/0.2061, allocations: 101 kB / 0.7953 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.2062, allocations: 108.9 kB / 0.7954 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-05/0.2062, allocations: 180.3 kB / 0.7956 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.2063, allocations: 188.2 kB / 0.7958 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.193e-05/0.2064, allocations: 184.2 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.114e-05/0.2064, allocations: 176.3 kB / 0.7961 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2066, allocations: 311.7 kB / 0.7964 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.2066, allocations: 193.9 kB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.2067, allocations: 180.2 kB / 0.7968 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.2068, allocations: 105 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.2069, allocations: 192.1 kB / 0.797 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.2069, allocations: 101 kB / 0.7971 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.207, allocations: 103.2 kB / 0.7972 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.207, allocations: 0 / 0.7972 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002722/0.2073, allocations: 36 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000268/0.2075, allocations: 218.4 kB / 0.7975 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.2076, allocations: 33.64 kB / 0.7975 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2076, allocations: 0 / 0.7975 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2076, allocations: 0 / 0.7975 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.2081, allocations: 0.5341 MB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.2085, allocations: 247.8 kB / 0.7983 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2087, allocations: 0.6848 MB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.2087, allocations: 0 / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.2088, allocations: 11.44 kB / 0.7989 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2088, allocations: 0 / 0.7989 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of Templates: time 0.004086/0.2129, allocations: 1.491 MB / 0.8004 GB, free: 14.19 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: