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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001085/0.001085, allocations: 178.4 kB / 371.6 MB, free: 3.406 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.659/1.659, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008221/0.0008221, allocations: 90.14 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.881e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7368/0.9878, allocations: 142 MB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9881, allocations: 85.14 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.9994, allocations: 3.362 MB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9995, allocations: 0 / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9995, allocations: 0 / 1.122 GB, free: 40.31 MB / 0.7448 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.0002432/0.9998, allocations: 353.1 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9998, allocations: 15.2 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.9999, allocations: 79.34 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/1, allocations: 272.9 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/1, allocations: 151.7 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/1, allocations: 161.3 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.179e-05/1, allocations: 101 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1, allocations: 75.78 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1, allocations: 154.6 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1, allocations: 150.6 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/1, allocations: 150.6 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/1, allocations: 469.2 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.314e-05/1.001, allocations: 169.8 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/1.001, allocations: 85.08 kB / 1.124 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/1.001, allocations: 75.28 kB / 1.124 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.001, allocations: 110 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.001, allocations: 0 / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.664e-05/1.001, allocations: 40.92 kB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/1.001, allocations: 130.7 kB / 1.124 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/1.001, allocations: 119.1 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/1.001, allocations: 25.7 kB / 1.125 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/1.001, allocations: 90.31 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/1.001, allocations: 7.984 kB / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/1.001, allocations: 0 / 1.125 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/1.001, allocations: 318.6 kB / 1.125 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/1.001, allocations: 4 kB / 1.125 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/1.001, allocations: 3.875 kB / 1.125 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/1.001, allocations: 12.48 kB / 1.125 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.001, allocations: 0 / 1.125 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001057/1.001, allocations: 56.44 kB / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.001, allocations: 9.297 kB / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.001, allocations: 0 / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.001, allocations: 3.562 kB / 1.125 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/1.001, allocations: 4.562 kB / 1.125 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.001, allocations: 0 / 1.125 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/1.001, allocations: 3.906 kB / 1.125 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/1.001, allocations: 0.8438 kB / 1.125 GB, free: 36.87 MB / 0.7448 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 () * 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 4.977e-05/1.001, allocations: 180.3 kB / 1.125 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/1.001, allocations: 108.9 kB / 1.125 GB, free: 36.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/1.001, allocations: 120.1 kB / 1.125 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/1.001, allocations: 176.3 kB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/1.001, allocations: 177.2 kB / 1.126 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/1.001, allocations: 184.2 kB / 1.126 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/1.002, allocations: 415.7 kB / 1.126 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.002, allocations: 105.5 kB / 1.126 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/1.002, allocations: 105.5 kB / 1.127 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/1.002, allocations: 180.2 kB / 1.127 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/1.002, allocations: 187.6 kB / 1.127 GB, free: 34.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/1.002, allocations: 180.3 kB / 1.127 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-05/1.002, allocations: 184.2 kB / 1.127 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.595e-05/1.002, allocations: 310.2 kB / 1.128 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/1.002, allocations: 182.7 kB / 1.128 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/1.002, allocations: 192.9 kB / 1.128 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/1.002, allocations: 104.9 kB / 1.128 GB, free: 33.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/1.002, allocations: 185.5 kB / 1.128 GB, free: 33.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/1.002, allocations: 104.9 kB / 1.128 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.73e-05/1.002, allocations: 102.2 kB / 1.128 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0 / 1.128 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002518/1.002, allocations: 43.88 kB / 1.128 GB, free: 33.25 MB / 0.7448 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 () * 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.0002716/1.003, allocations: 242.9 kB / 1.129 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/1.003, allocations: 32.64 kB / 1.129 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.003, allocations: 0 / 1.129 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/1.003, allocations: 4 kB / 1.129 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/1.003, allocations: 0.5331 MB / 1.129 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/1.003, allocations: 146.6 kB / 1.129 GB, free: 32.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/1.003, allocations: 0.6914 MB / 1.13 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.757e-05/1.003, allocations: 4 kB / 1.13 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/1.003, allocations: 11.44 kB / 1.13 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.003, allocations: 0 / 1.13 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.0033/1.007, allocations: 1.357 MB / 1.131 GB, free: 30.84 MB / 0.7448 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)