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.00114/0.001141, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001127/0.001127, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 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 / 222.1 MB, free: 5.672 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.61/1.61, allocations: 251.9 MB / 0.51 GB, free: 4.863 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.0005785/0.0005788, allocations: 23.12 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.516, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008567/0.5169, allocations: 295 kB / 0.7283 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.5172, allocations: 110.6 kB / 0.7284 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.5172, allocations: 0 / 0.7284 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.5173, allocations: 3.938 kB / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.5174, allocations: 0 / 0.7284 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.5176, allocations: 27.97 kB / 0.7284 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.5176, allocations: 19.92 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.23e-05/0.5177, allocations: 11.92 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.5177, allocations: 8 kB / 0.7284 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.5178, allocations: 8 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.5178, allocations: 4 kB / 0.7284 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.5179, allocations: 7.984 kB / 0.7284 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.5179, allocations: 7.922 kB / 0.7285 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.5179, allocations: 29.7 kB / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.236e-05/0.518, allocations: 11.98 kB / 0.7285 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.518, allocations: 0 / 0.7285 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.518, allocations: 0 / 0.7285 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.518, allocations: 4 kB / 0.7285 GB, free: 10.91 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.0003768/0.5184, allocations: 349 kB / 0.7288 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5185, allocations: 8.031 kB / 0.7288 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.5185, allocations: 4 kB / 0.7288 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.5187, allocations: 163 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5187, allocations: 4 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5187, allocations: 4 kB / 0.729 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.5189, allocations: 53.66 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5189, allocations: 4 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5189, allocations: 4 kB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5189, allocations: 0 / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.519, allocations: 23.91 kB / 0.7291 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.5192, allocations: 153.6 kB / 0.7292 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.694e-05/0.5193, allocations: 34.55 kB / 0.7293 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5193, allocations: 0 / 0.7293 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5193, allocations: 34.56 kB / 0.7293 GB, free: 9.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.5193, allocations: 0 / 0.7293 GB, free: 9.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002742/0.5196, allocations: 115.4 kB / 0.7294 GB, free: 9.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.5197, allocations: 77.11 kB / 0.7295 GB, free: 9.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.5197, allocations: 93.86 kB / 0.7296 GB, free: 9.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.5198, allocations: 25.7 kB / 0.7296 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.5198, allocations: 88.14 kB / 0.7297 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.5199, allocations: 5.875 kB / 0.7297 GB, free: 9.477 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.5199, allocations: 4.25 kB / 0.7297 GB, free: 9.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.52, allocations: 318.8 kB / 0.73 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.52, allocations: 4 kB / 0.73 GB, free: 9.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.5201, allocations: 15.98 kB / 0.73 GB, free: 9.133 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.5201, allocations: 37.7 kB / 0.7301 GB, free: 9.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.5201, allocations: 3.953 kB / 0.7301 GB, free: 9.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001343/0.5203, allocations: 99.31 kB / 0.7302 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.5203, allocations: 33.7 kB / 0.7302 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5203, allocations: 96 / 0.7302 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5204, allocations: 7.938 kB / 0.7302 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-06/0.5204, allocations: 0 / 0.7302 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5204, allocations: 0 / 0.7302 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5205, allocations: 7.984 kB / 0.7302 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5205, allocations: 4 kB / 0.7302 GB, free: 8.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.5207, allocations: 142.8 kB / 0.7303 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5207, allocations: 7.953 kB / 0.7303 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.5207, allocations: 7.125 kB / 0.7304 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5207, allocations: 7.984 kB / 0.7304 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5207, allocations: 0 / 0.7304 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5208, allocations: 0 / 0.7304 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5209, allocations: 149.7 kB / 0.7305 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5209, allocations: 0 / 0.7305 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-06/0.5209, allocations: 3.953 kB / 0.7305 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5209, allocations: 0 / 0.7305 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.5209, allocations: 8 kB / 0.7305 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5209, allocations: 0 / 0.7305 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5209, allocations: 3.938 kB / 0.7305 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.5211, allocations: 126.8 kB / 0.7306 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.5212, allocations: 85.09 kB / 0.7307 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.5212, allocations: 3.953 kB / 0.7307 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5213, allocations: 8 kB / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.5213, allocations: 0 / 0.7307 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.5213, allocations: 4 kB / 0.7307 GB, free: 8.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.5214, allocations: 79.3 kB / 0.7308 GB, free: 8.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5214, allocations: 4.094 kB / 0.7308 GB, free: 8.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002063/0.5216, allocations: 16 kB / 0.7308 GB, free: 8.168 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 (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.0002447/0.5218, allocations: 109.7 kB / 0.7309 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.522, allocations: 87.38 kB / 0.731 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.522, allocations: 64 / 0.731 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.5221, allocations: 71.39 kB / 0.7311 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.5222, allocations: 8 kB / 0.7311 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.5225, allocations: 105 kB / 0.7312 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.5228, allocations: 0.6731 MB / 0.7319 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.5229, allocations: 7.984 kB / 0.7319 GB, free: 7.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.5229, allocations: 11.38 kB / 0.7319 GB, free: 7.016 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.5229, allocations: 0 / 0.7319 GB, free: 7.016 MB / 0.545 GB Notification: Performance of Templates: time 0.003371/0.5263, allocations: 1.013 MB / 0.7329 GB, free: 6.016 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: