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.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.133 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.001157/0.001157, allocations: 188.8 kB / 377.1 MB, free: 1.504 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.563/1.563, allocations: 205.4 MB / 0.6367 GB, free: 8.598 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.0008584/0.0008582, allocations: 94.06 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2746, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8375/1.112, allocations: 142.1 MB / 1.127 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.112, allocations: 89.3 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/1.125, allocations: 3.375 MB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.687e-06/1.125, allocations: 4 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.125, allocations: 3.609 kB / 1.131 GB, free: 30.72 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.0003665/1.125, allocations: 379 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.125, allocations: 8.031 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/1.125, allocations: 85.84 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/1.125, allocations: 258.6 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/1.125, allocations: 154.6 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/1.125, allocations: 157.1 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.589e-05/1.125, allocations: 104.4 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.125, allocations: 75.28 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.125, allocations: 151.3 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/1.126, allocations: 154.6 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/1.126, allocations: 155.5 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/1.126, allocations: 468.4 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/1.126, allocations: 169.1 kB / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.126, allocations: 80.31 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.126, allocations: 109.8 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 2.314e-06/1.126, allocations: 0.9844 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.312e-05/1.126, allocations: 36.05 kB / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.126, allocations: 126.7 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/1.126, allocations: 125.9 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/1.126, allocations: 25.7 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/1.126, allocations: 103.7 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/1.126, allocations: 0 / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/1.126, allocations: 0 / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/1.126, allocations: 323.1 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/1.126, allocations: 0.875 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/1.126, allocations: 4 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/1.126, allocations: 8 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.126, allocations: 0 / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001158/1.126, allocations: 49.06 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.126, allocations: 4 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.126, allocations: 8.609 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.127, allocations: 0.5625 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/1.127, allocations: 1.062 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.127, allocations: 0 / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/1.127, allocations: 8.531 kB / 1.134 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/1.127, allocations: 4 kB / 1.134 GB, free: 27.3 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 6.423e-05/1.127, allocations: 185.1 kB / 1.134 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/1.127, allocations: 117.2 kB / 1.134 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/1.127, allocations: 112.8 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/1.127, allocations: 184.3 kB / 1.134 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/1.127, allocations: 180.2 kB / 1.134 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/1.127, allocations: 180.6 kB / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/1.127, allocations: 409.2 kB / 1.135 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.127, allocations: 117.5 kB / 1.135 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/1.127, allocations: 103.2 kB / 1.135 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-05/1.127, allocations: 183.8 kB / 1.135 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/1.127, allocations: 184.2 kB / 1.136 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.027e-05/1.127, allocations: 176.3 kB / 1.136 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/1.127, allocations: 180.8 kB / 1.136 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.404e-05/1.127, allocations: 316.1 kB / 1.136 GB, free: 24.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/1.127, allocations: 182 kB / 1.136 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/1.127, allocations: 176.3 kB / 1.137 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/1.127, allocations: 116.3 kB / 1.137 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/1.127, allocations: 186.1 kB / 1.137 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.127, allocations: 104.9 kB / 1.137 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.382e-05/1.127, allocations: 98.41 kB / 1.137 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.128, allocations: 0 / 1.137 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003045/1.128, allocations: 43.94 kB / 1.137 GB, free: 23.65 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.000283/1.128, allocations: 235.4 kB / 1.137 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.645e-05/1.128, allocations: 37.7 kB / 1.137 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.128, allocations: 0 / 1.137 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/1.128, allocations: 0 / 1.137 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/1.128, allocations: 0.5264 MB / 1.138 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/1.129, allocations: 242.6 kB / 1.138 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/1.129, allocations: 0.6919 MB / 1.139 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.141e-05/1.129, allocations: 0 / 1.139 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.292e-05/1.129, allocations: 15.05 kB / 1.139 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/1.129, allocations: 0 / 1.139 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.003298/1.132, allocations: 1.285 MB / 1.14 GB, free: 21.18 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)