Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 293 MB / 309 MB, free: 4.867 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.0009586/0.0009588, allocations: 172.1 kB / 378.7 MB, free: 1.043 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.559/1.559, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007706/0.0007706, allocations: 91.62 kB / 0.7527 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004275, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2577, allocations: 116.4 MB / 0.9905 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6835/0.9412, allocations: 139.2 MB / 1.126 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.9415, allocations: 83.77 kB / 1.126 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008884/0.9504, allocations: 3.837 MB / 1.13 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9504, allocations: 0.9062 kB / 1.13 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.9504, allocations: 4 kB / 1.13 GB, free: 31.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002388/0.9507, allocations: 349.4 kB / 1.131 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9507, allocations: 9.094 kB / 1.131 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.9508, allocations: 5.562 kB / 1.131 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.9509, allocations: 166.5 kB / 1.131 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9509, allocations: 4.312 kB / 1.131 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.9509, allocations: 6.062 kB / 1.131 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.951, allocations: 54.05 kB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.951, allocations: 192 / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.9511, allocations: 7.938 kB / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.9511, allocations: 0 / 1.131 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.9511, allocations: 17.45 kB / 1.131 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.9512, allocations: 149.2 kB / 1.131 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.936e-05/0.9513, allocations: 38.92 kB / 1.131 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.9513, allocations: 16.34 kB / 1.131 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.9513, allocations: 1.031 kB / 1.131 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.9514, allocations: 38.56 kB / 1.131 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.9514, allocations: 0 / 1.131 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/0.9516, allocations: 102.4 kB / 1.131 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.9516, allocations: 84.58 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.9517, allocations: 98.61 kB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.9517, allocations: 29.7 kB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.9517, allocations: 80.14 kB / 1.131 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.9518, allocations: 7.844 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.9518, allocations: 7.938 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.9518, allocations: 314.8 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.9519, allocations: 16.03 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.9519, allocations: 11.52 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.952, allocations: 80.45 kB / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.952, allocations: 0 / 1.132 GB, free: 30 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001019/0.9521, allocations: 94.25 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.9521, allocations: 37.03 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9521, allocations: 5.594 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9521, allocations: 0 / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.9521, allocations: 0 / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.9522, allocations: 0 / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.9522, allocations: 11.97 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.9523, allocations: 12.14 kB / 1.132 GB, free: 29.84 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: 1 * 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 prepare postOptimizeDAE: time 6.121e-05/0.9523, allocations: 135.5 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.9524, allocations: 4.938 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.9524, allocations: 11.06 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.9524, allocations: 0 / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.9524, allocations: 3.422 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9524, allocations: 0.5625 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.636e-05/0.9525, allocations: 153.8 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9525, allocations: 0 / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.9525, allocations: 4 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.9525, allocations: 0 / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.9525, allocations: 8.438 kB / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9525, allocations: 4.406 kB / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.9525, allocations: 0 / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.9526, allocations: 124.2 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.9527, allocations: 81.83 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.9527, allocations: 7.969 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.9528, allocations: 11.52 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.9528, allocations: 3.938 kB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.9529, allocations: 4 kB / 1.133 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.9529, allocations: 79.28 kB / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9529, allocations: 0 / 1.133 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001929/0.9531, allocations: 19.31 kB / 1.133 GB, free: 29.12 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002122/0.9533, allocations: 111.7 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.9534, allocations: 86.53 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9534, allocations: 0 / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.9535, allocations: 71.02 kB / 1.133 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.9536, allocations: 5.688 kB / 1.133 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.9541, allocations: 202 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.9542, allocations: 0.6731 MB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.9543, allocations: 8.5 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.9543, allocations: 7.438 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9543, allocations: 0 / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.002819/0.9572, allocations: 1.035 MB / 1.135 GB, free: 27.34 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)