Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 181.4 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.372/2.372, allocations: 205.4 MB / 0.5772 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009845/0.0009843, allocations: 97.16 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 12.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8995 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.4255, allocations: 131.7 MB / 1.028 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.4259, allocations: 87.94 kB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01806/0.444, allocations: 3.849 MB / 1.032 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4441, allocations: 0 / 1.032 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4441, allocations: 0 / 1.032 GB, free: 10.16 MB / 0.6823 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.000376/0.4445, allocations: 347.4 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4446, allocations: 12.03 kB / 1.032 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.4446, allocations: 4.844 kB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.4448, allocations: 168.3 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4448, allocations: 384 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.4448, allocations: 4.375 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.445, allocations: 62.22 kB / 1.033 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.445, allocations: 192 / 1.033 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.445, allocations: 7.875 kB / 1.033 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4451, allocations: 0 / 1.033 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.4451, allocations: 8 kB / 1.033 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.4453, allocations: 153.7 kB / 1.033 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.757e-05/0.4454, allocations: 30.59 kB / 1.033 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.4455, allocations: 24.91 kB / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.4455, allocations: 0 / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.4455, allocations: 34.56 kB / 1.033 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.4456, allocations: 0 / 1.033 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003382/0.4459, allocations: 111.2 kB / 1.033 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.446, allocations: 81.11 kB / 1.033 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.4461, allocations: 93.86 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.4461, allocations: 37.94 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.4462, allocations: 80.14 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.4462, allocations: 4 kB / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.4462, allocations: 0 / 1.033 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4463, allocations: 310.8 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.4464, allocations: 12 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.4465, allocations: 11.98 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.4465, allocations: 37.7 kB / 1.034 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4466, allocations: 64 / 1.034 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002058/0.4468, allocations: 103.3 kB / 1.034 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.4468, allocations: 29.7 kB / 1.034 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4468, allocations: 3.938 kB / 1.034 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4469, allocations: 0 / 1.034 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-06/0.4469, allocations: 3.984 kB / 1.034 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4469, allocations: 7.938 kB / 1.034 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.4471, allocations: 11.84 kB / 1.034 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.4472, allocations: 8 kB / 1.034 GB, free: 8.145 MB / 0.6823 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 0.0001249/0.4473, allocations: 143.6 kB / 1.034 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.4473, allocations: 7.984 kB / 1.034 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.4474, allocations: 11 kB / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4474, allocations: 0 / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4474, allocations: 0 / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4474, allocations: 0 / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.4475, allocations: 149.7 kB / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4475, allocations: 0 / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-06/0.4475, allocations: 0 / 1.034 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4476, allocations: 4 kB / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.4476, allocations: 15.92 kB / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4476, allocations: 0 / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4476, allocations: 0 / 1.034 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.4479, allocations: 126.8 kB / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.4479, allocations: 77.11 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.448, allocations: 7.938 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4482, allocations: 4 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.4482, allocations: 8.016 kB / 1.034 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4483, allocations: 4 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.4483, allocations: 79.28 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4483, allocations: 0 / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002803/0.4486, allocations: 16 kB / 1.034 GB, free: 7.395 MB / 0.6823 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.0002947/0.4489, allocations: 125.1 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4491, allocations: 79.39 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4491, allocations: 0 / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.4492, allocations: 79.27 kB / 1.035 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.4494, allocations: 4 kB / 1.035 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.4502, allocations: 194.7 kB / 1.035 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.4505, allocations: 0.6772 MB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.757e-05/0.4506, allocations: 7.984 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.4506, allocations: 7.438 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4506, allocations: 0 / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of Templates: time 0.004581/0.4552, allocations: 1.012 MB / 1.036 GB, free: 5.137 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)