Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008607/0.008607, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005052, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4392, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007966/0.4401, allocations: 295.8 kB / 0.729 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.4404, allocations: 110.6 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.4404, allocations: 0 / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.671e-05/0.4405, allocations: 7.984 kB / 0.7291 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.4405, allocations: 4 kB / 0.7291 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4407, allocations: 39.89 kB / 0.7292 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.4408, allocations: 27.86 kB / 0.7292 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.4408, allocations: 4 kB / 0.7292 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.4408, allocations: 15.98 kB / 0.7292 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.4409, allocations: 7.984 kB / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4409, allocations: 4 kB / 0.7292 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.441, allocations: 12 kB / 0.7292 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.441, allocations: 0 / 0.7292 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.441, allocations: 41.61 kB / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.412e-05/0.4411, allocations: 23.97 kB / 0.7293 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4411, allocations: 0 / 0.7293 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4411, allocations: 0 / 0.7293 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.4411, allocations: 0 / 0.7293 GB, free: 10.7 MB / 0.545 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.0002849/0.4414, allocations: 349.2 kB / 0.7296 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.4415, allocations: 8.031 kB / 0.7296 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4415, allocations: 4.938 kB / 0.7296 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4416, allocations: 168.4 kB / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4416, allocations: 384 / 0.7298 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4417, allocations: 8.312 kB / 0.7298 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.4418, allocations: 54.23 kB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.4418, allocations: 192 / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4418, allocations: 3.938 kB / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4418, allocations: 0 / 0.7299 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.4419, allocations: 15.98 kB / 0.7299 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.442, allocations: 161.6 kB / 0.73 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.442, allocations: 30.59 kB / 0.7301 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.4421, allocations: 24.86 kB / 0.7301 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.4421, allocations: 0 / 0.7301 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.4421, allocations: 30.56 kB / 0.7301 GB, free: 9.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.4421, allocations: 0 / 0.7301 GB, free: 9.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.4423, allocations: 111.3 kB / 0.7302 GB, free: 9.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4424, allocations: 85.23 kB / 0.7303 GB, free: 9.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.4425, allocations: 93.86 kB / 0.7304 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.4425, allocations: 25.7 kB / 0.7304 GB, free: 9.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.4425, allocations: 84.12 kB / 0.7305 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4425, allocations: 9.875 kB / 0.7305 GB, free: 9.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.4426, allocations: 9.719 kB / 0.7305 GB, free: 9.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4427, allocations: 322.8 kB / 0.7308 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.4427, allocations: 7.938 kB / 0.7308 GB, free: 8.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.4427, allocations: 20.11 kB / 0.7309 GB, free: 8.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.4428, allocations: 76.27 kB / 0.7309 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4428, allocations: 0 / 0.7309 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/0.443, allocations: 95.38 kB / 0.731 GB, free: 8.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.443, allocations: 37.64 kB / 0.7311 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.443, allocations: 3.938 kB / 0.7311 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.443, allocations: 4 kB / 0.7311 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.443, allocations: 3.984 kB / 0.7311 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.443, allocations: 0 / 0.7311 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4432, allocations: 8.094 kB / 0.7311 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.4432, allocations: 4 kB / 0.7311 GB, free: 8.613 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.4433, allocations: 143.5 kB / 0.7312 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.4433, allocations: 4 kB / 0.7312 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.13e-05/0.4433, allocations: 7.062 kB / 0.7312 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4433, allocations: 0 / 0.7312 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4433, allocations: 0 / 0.7312 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4433, allocations: 0 / 0.7312 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.464e-05/0.4434, allocations: 153.7 kB / 0.7314 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4434, allocations: 4 kB / 0.7314 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.4435, allocations: 4 kB / 0.7314 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4435, allocations: 0 / 0.7314 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4435, allocations: 11.86 kB / 0.7314 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4435, allocations: 4 kB / 0.7314 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4435, allocations: 0 / 0.7314 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.4436, allocations: 118.8 kB / 0.7315 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.4437, allocations: 81.14 kB / 0.7316 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.4437, allocations: 11.94 kB / 0.7316 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4438, allocations: 7.984 kB / 0.7316 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.4438, allocations: 4 kB / 0.7316 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.4439, allocations: 4 kB / 0.7316 GB, free: 7.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.4439, allocations: 83.22 kB / 0.7317 GB, free: 7.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4439, allocations: 0 / 0.7317 GB, free: 7.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002075/0.4441, allocations: 16 kB / 0.7317 GB, free: 7.859 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.4443, allocations: 125.8 kB / 0.7318 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.4445, allocations: 79.39 kB / 0.7319 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4445, allocations: 0 / 0.7319 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.4445, allocations: 71.39 kB / 0.732 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.4447, allocations: 4 kB / 0.732 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.445, allocations: 114.8 kB / 0.7321 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.4452, allocations: 0.6731 MB / 0.7327 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.4452, allocations: 7.938 kB / 0.7327 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.03e-05/0.4453, allocations: 15.36 kB / 0.7328 GB, free: 6.695 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4453, allocations: 0 / 0.7328 GB, free: 6.695 MB / 0.545 GB Notification: Performance of Templates: time 0.003095/0.4484, allocations: 1.04 MB / 0.7338 GB, free: 5.664 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) Environment - environmentSimulation: