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.006033/0.006033, allocations: 103 kB / 15.73 MB, free: 6.051 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.001273/0.001273, allocations: 193 kB / 16.67 MB, free: 5.98 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.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.62/1.62, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.00142/0.00142, allocations: 66.09 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1995, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001778/0.2013, allocations: 0.5466 MB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.2015, allocations: 108.1 kB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.2016, allocations: 4 kB / 0.8287 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.2017, allocations: 19.84 kB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.2017, allocations: 0 / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2019, allocations: 31.97 kB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.202, allocations: 31.92 kB / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.202, allocations: 0 / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.2021, allocations: 15.97 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2021, allocations: 19.98 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2022, allocations: 0 / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.2022, allocations: 12 kB / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.2022, allocations: 0 / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.2023, allocations: 11.92 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.451e-05/0.2024, allocations: 27.95 kB / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2024, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2024, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2024, allocations: 0 / 0.8289 GB, free: 15.38 MB / 0.6544 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.0003376/0.2027, allocations: 369.2 kB / 0.8292 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2028, allocations: 12.03 kB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2028, allocations: 4.938 kB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2029, allocations: 160.4 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2029, allocations: 4.375 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.203, allocations: 4.375 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2031, allocations: 50.23 kB / 0.8294 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2031, allocations: 8.062 kB / 0.8294 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2031, allocations: 11.88 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2031, allocations: 3.984 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.2032, allocations: 16 kB / 0.8295 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.2033, allocations: 149.6 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.2034, allocations: 34.59 kB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.2034, allocations: 12.92 kB / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.2034, allocations: 3.984 kB / 0.8297 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2035, allocations: 38.55 kB / 0.8297 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 2.846e-06/0.2035, allocations: 0 / 0.8297 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002249/0.2037, allocations: 115.2 kB / 0.8298 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2037, allocations: 77.11 kB / 0.8299 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.2038, allocations: 97.86 kB / 0.83 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2038, allocations: 29.7 kB / 0.83 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2039, allocations: 80.14 kB / 0.8301 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2039, allocations: 7.891 kB / 0.8301 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.2039, allocations: 21.72 kB / 0.8301 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.204, allocations: 319.1 kB / 0.8304 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.2041, allocations: 7.984 kB / 0.8304 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.2041, allocations: 12 kB / 0.8304 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.2042, allocations: 88.19 kB / 0.8305 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2042, allocations: 0 / 0.8305 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001261/0.2043, allocations: 95.38 kB / 0.8306 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.2044, allocations: 29.7 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2044, allocations: 3.938 kB / 0.8306 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2044, allocations: 8.094 kB / 0.8306 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.2044, allocations: 0 / 0.8306 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2044, allocations: 3.984 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2046, allocations: 7.984 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2046, allocations: 4 kB / 0.8307 GB, free: 13.26 MB / 0.6544 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.078e-05/0.2047, allocations: 139.5 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.2047, allocations: 4 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.239e-05/0.2047, allocations: 7.062 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2047, allocations: 4 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2047, allocations: 0 / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2047, allocations: 3.984 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.2048, allocations: 149.7 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2048, allocations: 3.938 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.2049, allocations: 4 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2049, allocations: 3.938 kB / 0.831 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.2049, allocations: 7.938 kB / 0.831 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2049, allocations: 4 kB / 0.831 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2049, allocations: 3.938 kB / 0.831 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.205, allocations: 122.8 kB / 0.8311 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.2051, allocations: 77.11 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2051, allocations: 7.938 kB / 0.8312 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2052, allocations: 7.984 kB / 0.8312 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.2052, allocations: 8 kB / 0.8312 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2053, allocations: 0 / 0.8312 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.2053, allocations: 83.31 kB / 0.8313 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2053, allocations: 0 / 0.8313 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00021/0.2055, allocations: 19.98 kB / 0.8313 GB, free: 12.5 MB / 0.6544 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.0001965/0.2057, allocations: 110.6 kB / 0.8314 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.2059, allocations: 91.31 kB / 0.8315 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.2059, allocations: 4.156 kB / 0.8315 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.2059, allocations: 63.41 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2061, allocations: 4 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.2063, allocations: 109 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2065, allocations: 0.6727 MB / 0.8323 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.404e-05/0.2066, allocations: 4 kB / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.2066, allocations: 7.438 kB / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2066, allocations: 0 / 0.8323 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003083/0.2097, allocations: 1.096 MB / 0.8334 GB, free: 10.27 MB / 0.6544 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)