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/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 293 MB / 309 MB, free: 4.801 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 176.5 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 0.6383 GB, free: 8.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008454/0.0008452, allocations: 92.77 kB / 0.7527 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5519/0.7898, allocations: 142.1 MB / 1.129 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.79, allocations: 93.23 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.801, allocations: 3.397 MB / 1.133 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8011, allocations: 4 kB / 1.133 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8011, allocations: 0 / 1.133 GB, free: 29.92 MB / 0.7292 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.0003229/0.8014, allocations: 371.4 kB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8014, allocations: 12.03 kB / 1.133 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.8015, allocations: 76.22 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.8017, allocations: 271 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.8017, allocations: 158.5 kB / 1.134 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.8018, allocations: 153.1 kB / 1.134 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.799e-05/0.8018, allocations: 106.7 kB / 1.134 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8018, allocations: 75.47 kB / 1.134 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.8018, allocations: 154.5 kB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.8019, allocations: 154.6 kB / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.8019, allocations: 150.6 kB / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.8021, allocations: 465.5 kB / 1.135 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.8021, allocations: 169.1 kB / 1.135 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.8022, allocations: 80.14 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.8022, allocations: 79.28 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.8022, allocations: 109.8 kB / 1.135 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/0.8022, allocations: 1.172 kB / 1.135 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.469e-05/0.8023, allocations: 41.61 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.8023, allocations: 126.7 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.8024, allocations: 139.4 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.8024, allocations: 29.7 kB / 1.135 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.8025, allocations: 91.56 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.8025, allocations: 0 / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.8025, allocations: 4 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.8025, allocations: 311.6 kB / 1.136 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.8025, allocations: 11.72 kB / 1.136 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.8026, allocations: 3.281 kB / 1.136 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.8026, allocations: 12.86 kB / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8026, allocations: 0 / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001083/0.8027, allocations: 56.95 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8027, allocations: 7.938 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.8028, allocations: 0 / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.8028, allocations: 5.266 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.8028, allocations: 0.5625 kB / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8028, allocations: 0 / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.8028, allocations: 0 / 1.136 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.8028, allocations: 0 / 1.136 GB, free: 26.39 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.8029, allocations: 189.2 kB / 1.136 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.8029, allocations: 116.2 kB / 1.136 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.803, allocations: 114.2 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.803, allocations: 178.2 kB / 1.137 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/0.803, allocations: 188.2 kB / 1.137 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.8031, allocations: 183.6 kB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8032, allocations: 408.6 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.8032, allocations: 108.9 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.564e-05/0.8033, allocations: 105.3 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.482e-05/0.8033, allocations: 188.1 kB / 1.138 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.8033, allocations: 176.3 kB / 1.138 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/0.8033, allocations: 180.3 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.443e-05/0.8034, allocations: 185.5 kB / 1.138 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.574e-05/0.8034, allocations: 311.1 kB / 1.138 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.8035, allocations: 186.5 kB / 1.139 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.8035, allocations: 187.6 kB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.8036, allocations: 105 kB / 1.139 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8036, allocations: 182.3 kB / 1.139 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.8037, allocations: 111.4 kB / 1.139 GB, free: 22.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.8037, allocations: 101.2 kB / 1.139 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8037, allocations: 0 / 1.139 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002914/0.804, allocations: 40.59 kB / 1.139 GB, free: 22.74 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.8043, allocations: 240.2 kB / 1.14 GB, free: 22.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.8044, allocations: 33.92 kB / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8044, allocations: 0 / 1.14 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.8044, allocations: 3.938 kB / 1.14 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.8047, allocations: 0.5392 MB / 1.14 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.805, allocations: 238.5 kB / 1.14 GB, free: 21.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.8051, allocations: 0.6841 MB / 1.141 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.8051, allocations: 7.469 kB / 1.141 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.8052, allocations: 7.438 kB / 1.141 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.8052, allocations: 0 / 1.141 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.004045/0.8092, allocations: 1.567 MB / 1.143 GB, free: 20.12 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (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)