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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 267 MB, free: 10.97 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.001002/0.001002, allocations: 172.1 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0007429/0.0007428, allocations: 89.56 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 9 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006455/0.1651, allocations: 294.5 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001711/0.1652, allocations: 103.7 kB / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1653, allocations: 0 / 0.9007 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.646e-05/0.1654, allocations: 12 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.1654, allocations: 3.938 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.1655, allocations: 27.97 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.1656, allocations: 27.92 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.1656, allocations: 0 / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.1656, allocations: 11.98 kB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.1657, allocations: 11.98 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1657, allocations: 4 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.323e-05/0.1657, allocations: 4 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-06/0.1657, allocations: 0 / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.1658, allocations: 29.7 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.1658, allocations: 27.95 kB / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1658, allocations: 0 / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1658, allocations: 0 / 0.9008 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.1659, allocations: 4 kB / 0.9009 GB, free: 63.22 MB / 0.6042 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.0001859/0.166, allocations: 341.1 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1661, allocations: 15.97 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.179e-05/0.1661, allocations: 30.56 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.1661, allocations: 4 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.1662, allocations: 163 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1662, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1663, allocations: 8 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.1664, allocations: 57.66 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.1664, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1664, allocations: 4 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.1664, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.1664, allocations: 8 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.438e-05/0.1665, allocations: 153.6 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.847e-05/0.1666, allocations: 38.47 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.1666, allocations: 24.91 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.1666, allocations: 4 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.1666, allocations: 30.56 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1666, allocations: 0 / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.1668, allocations: 111.3 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.1669, allocations: 77.11 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.854e-05/0.1669, allocations: 93.86 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1669, allocations: 29.69 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.1669, allocations: 88.39 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.167, allocations: 7.906 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.167, allocations: 4 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.167, allocations: 314.8 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.167, allocations: 4 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.1671, allocations: 15.98 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.1671, allocations: 41.64 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1671, allocations: 0 / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.953e-05/0.1672, allocations: 99.44 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1672, allocations: 33.7 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1672, allocations: 4 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1673, allocations: 0 / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1673, allocations: 3.938 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1673, allocations: 3.984 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1674, allocations: 4 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1674, allocations: 4 kB / 0.9026 GB, free: 61.17 MB / 0.6042 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 5.601e-05/0.1675, allocations: 147.5 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1675, allocations: 8 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-06/0.1675, allocations: 7.125 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1675, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1675, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1675, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.306e-05/0.1676, allocations: 153.6 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1676, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1676, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1676, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1676, allocations: 7.984 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1676, allocations: 11.92 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1677, allocations: 0 / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1678, allocations: 122.8 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.1678, allocations: 88.98 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1678, allocations: 0 / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1679, allocations: 8 kB / 0.9031 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.1679, allocations: 7.984 kB / 0.9031 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.168, allocations: 8.031 kB / 0.9031 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.565e-05/0.168, allocations: 75.28 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.168, allocations: 0 / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001856/0.1682, allocations: 12 kB / 0.9032 GB, free: 60.42 MB / 0.6042 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.0003378/0.1685, allocations: 0.6793 MB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.1686, allocations: 87.33 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1686, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.1687, allocations: 67.39 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1688, allocations: 4.281 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.1691, allocations: 148.4 kB / 0.9042 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.1692, allocations: 0.6731 MB / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.1693, allocations: 7.984 kB / 0.9048 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.1693, allocations: 7.438 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1693, allocations: 3.938 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.1819, allocations: 1.617 MB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.182, allocations: 222 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.728, allocations: 0 / 0.9066 GB, free: 56.95 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)