Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001008/0.001007, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.598/1.598, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008631/0.0008633, allocations: 92.47 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.744e-05, allocations: 4 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6896, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.8767, allocations: 137.4 MB / 1.099 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.877, allocations: 92.83 kB / 1.099 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.8871, allocations: 3.803 MB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8871, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.8871, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 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.0003231/0.8875, allocations: 340.3 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8875, allocations: 9.344 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.8876, allocations: 8.656 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8877, allocations: 167 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.8878, allocations: 4.484 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.8878, allocations: 4.531 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.894e-05/0.8879, allocations: 12 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/0.888, allocations: 55.2 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.888, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.888, allocations: 0 / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.888, allocations: 0.5938 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.8881, allocations: 130.9 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.802e-05/0.8882, allocations: 31.97 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.8882, allocations: 12.92 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.8883, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.8883, allocations: 38.94 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.8883, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001877/0.8885, allocations: 62.3 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.8886, allocations: 81.77 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.8886, allocations: 89.53 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8887, allocations: 34.23 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.8887, allocations: 80.83 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.8887, allocations: 7.844 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.8888, allocations: 4.531 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8889, allocations: 311.6 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.8889, allocations: 12.86 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.889, allocations: 8 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.889, allocations: 5.125 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.889, allocations: 0 / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.951e-05/0.8891, allocations: 58.38 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.8892, allocations: 42.17 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8892, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8892, allocations: 4.562 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.8892, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.8892, allocations: 0.8438 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.8893, allocations: 4.688 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.8893, allocations: 4 kB / 1.104 GB, free: 12.8 MB / 0.7136 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: 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 0.0001095/0.8895, allocations: 136.1 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.8895, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.8895, allocations: 15.23 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8895, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8895, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8895, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.8896, allocations: 134.2 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8896, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.8897, allocations: 3.984 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.8897, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8897, allocations: 4.75 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8897, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8897, allocations: 4.766 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.8898, allocations: 83.34 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.8899, allocations: 83.39 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.8899, allocations: 7.984 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.89, allocations: 8.219 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.89, allocations: 7.953 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.8901, allocations: 13.16 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.8901, allocations: 75.28 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8901, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001903/0.8903, allocations: 19.98 kB / 1.105 GB, free: 12.13 MB / 0.7136 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 (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.0002565/0.8906, allocations: 117.4 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.8907, allocations: 79.39 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8907, allocations: 0 / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.8908, allocations: 63.41 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.8909, allocations: 4 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.8914, allocations: 165.4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.8917, allocations: 0.6769 MB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.626e-05/0.8917, allocations: 11.98 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.8918, allocations: 7.438 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.8918, allocations: 0 / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.00288/0.8946, allocations: 0.9937 MB / 1.107 GB, free: 10.02 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)