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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.0017, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.73 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.506/1.506, allocations: 251.6 MB / 0.5088 GB, free: 3.375 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.00131/0.00131, allocations: 68.38 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4657, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002102/0.4679, allocations: 0.6277 MB / 0.7244 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.4682, allocations: 110.6 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.4682, allocations: 3.938 kB / 0.7245 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.946e-05/0.4683, allocations: 7.984 kB / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.4684, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.4685, allocations: 39.97 kB / 0.7246 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.4686, allocations: 19.98 kB / 0.7246 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.4686, allocations: 4 kB / 0.7246 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.4687, allocations: 15.97 kB / 0.7246 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.4687, allocations: 11.98 kB / 0.7246 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4687, allocations: 0 / 0.7246 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.472e-05/0.4688, allocations: 8 kB / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4688, allocations: 3.938 kB / 0.7246 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.4688, allocations: 15.92 kB / 0.7247 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.469, allocations: 27.97 kB / 0.7247 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.469, allocations: 4 kB / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.469, allocations: 0 / 0.7247 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.469, allocations: 0 / 0.7247 GB, free: 12.29 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.000364/0.4694, allocations: 353.2 kB / 0.725 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4694, allocations: 8.031 kB / 0.725 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.4695, allocations: 4.938 kB / 0.725 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4696, allocations: 168.4 kB / 0.7252 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4696, allocations: 8.312 kB / 0.7252 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.4696, allocations: 4.375 kB / 0.7252 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4698, allocations: 54.23 kB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4698, allocations: 4.125 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4698, allocations: 7.938 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4698, allocations: 0 / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.4699, allocations: 15.92 kB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.47, allocations: 149.7 kB / 0.7254 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.4701, allocations: 34.59 kB / 0.7255 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.4701, allocations: 16.92 kB / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4701, allocations: 0 / 0.7255 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4702, allocations: 30.56 kB / 0.7255 GB, free: 11.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4702, allocations: 0 / 0.7255 GB, free: 11.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002492/0.4704, allocations: 119.2 kB / 0.7256 GB, free: 11.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4705, allocations: 77.11 kB / 0.7257 GB, free: 11.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.4705, allocations: 93.98 kB / 0.7258 GB, free: 10.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4706, allocations: 33.83 kB / 0.7258 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.4706, allocations: 84.14 kB / 0.7259 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4706, allocations: 9.859 kB / 0.7259 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4707, allocations: 21.7 kB / 0.7259 GB, free: 10.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.4708, allocations: 318.8 kB / 0.7262 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.4708, allocations: 4 kB / 0.7262 GB, free: 10.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.4709, allocations: 15.98 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.4709, allocations: 84.31 kB / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4709, allocations: 0 / 0.7263 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001282/0.4711, allocations: 95.33 kB / 0.7264 GB, free: 10.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.4711, allocations: 37.69 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4711, allocations: 3.938 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4712, allocations: 0 / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.4712, allocations: 4 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4712, allocations: 0 / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.4713, allocations: 4 kB / 0.7265 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4713, allocations: 7.984 kB / 0.7265 GB, free: 10.19 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 0.0001154/0.4715, allocations: 143.6 kB / 0.7266 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.4715, allocations: 4 kB / 0.7266 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.19e-05/0.4715, allocations: 7.062 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.4715, allocations: 0 / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4715, allocations: 3.984 kB / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4715, allocations: 0 / 0.7266 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.4716, allocations: 165.6 kB / 0.7268 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4716, allocations: 0 / 0.7268 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4716, allocations: 0 / 0.7268 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4716, allocations: 11.94 kB / 0.7268 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4717, allocations: 3.938 kB / 0.7268 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.4717, allocations: 0 / 0.7268 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4717, allocations: 4 kB / 0.7268 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.4718, allocations: 122.8 kB / 0.7269 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.4719, allocations: 77.11 kB / 0.727 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4719, allocations: 7.938 kB / 0.727 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.472, allocations: 12.02 kB / 0.727 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.472, allocations: 4 kB / 0.727 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.472, allocations: 4 kB / 0.727 GB, free: 9.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.4721, allocations: 79.28 kB / 0.7271 GB, free: 9.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4721, allocations: 0 / 0.7271 GB, free: 9.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001944/0.4723, allocations: 16 kB / 0.7271 GB, free: 9.43 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.0002197/0.4725, allocations: 120 kB / 0.7272 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.4726, allocations: 79.39 kB / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4726, allocations: 0 / 0.7273 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.4727, allocations: 75.33 kB / 0.7274 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.4729, allocations: 4 kB / 0.7274 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.4732, allocations: 114.7 kB / 0.7275 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4734, allocations: 0.6731 MB / 0.7281 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.068e-05/0.4735, allocations: 7.984 kB / 0.7282 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-06/0.4735, allocations: 7.438 kB / 0.7282 GB, free: 8.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4735, allocations: 0 / 0.7282 GB, free: 8.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003271/0.4768, allocations: 1.044 MB / 0.7292 GB, free: 7.238 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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)