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.344/1.344, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009678/0.0009678, allocations: 187.3 kB / 327 MB, free: 2.078 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.482/1.482, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0006813/0.0006817, allocations: 84.08 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003176, allocations: 10.78 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007473/0.1959, allocations: 306.5 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.1962, allocations: 107.8 kB / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.1962, allocations: 3.938 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.314e-05/0.1963, allocations: 4 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.1963, allocations: 3.938 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.1965, allocations: 39.89 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.1965, allocations: 23.97 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.1966, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.1966, allocations: 12 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.1967, allocations: 15.98 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1967, allocations: 0 / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.207e-05/0.1967, allocations: 15.98 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.1968, allocations: 0 / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1968, allocations: 41.62 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.1969, allocations: 23.97 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1969, allocations: 0 / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1969, allocations: 0 / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.1969, allocations: 0 / 0.9015 GB, free: 62.78 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.0002286/0.1971, allocations: 351 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1972, allocations: 12.03 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.1972, allocations: 30.75 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.1973, allocations: 4.938 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.1974, allocations: 168.3 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1974, allocations: 4.375 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.1974, allocations: 4.375 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1975, allocations: 54.17 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1975, allocations: 3.938 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1975, allocations: 4 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1975, allocations: 0 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.1976, allocations: 15.98 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1977, allocations: 153.7 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.1977, allocations: 38.53 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.1978, allocations: 20.92 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-06/0.1978, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1978, allocations: 34.56 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1978, allocations: 0 / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002096/0.198, allocations: 111.3 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1981, allocations: 81.11 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.1981, allocations: 97.8 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1982, allocations: 25.7 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.1982, allocations: 80.14 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1982, allocations: 8.156 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.1982, allocations: 4 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.1983, allocations: 318.8 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.1983, allocations: 8 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.1983, allocations: 11.98 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.1984, allocations: 80.27 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1984, allocations: 3.938 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.1985, allocations: 95.38 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.1986, allocations: 37.73 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1986, allocations: 0 / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1986, allocations: 7.938 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.1986, allocations: 3.984 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1986, allocations: 3.984 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1987, allocations: 4 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1988, allocations: 8 kB / 0.9033 GB, free: 60.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.1988, allocations: 139.5 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1989, allocations: 7.938 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.1989, allocations: 7.125 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1989, allocations: 0 / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1989, allocations: 0 / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1989, allocations: 7.938 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.913e-05/0.199, allocations: 149.7 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.199, allocations: 0 / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.199, allocations: 4 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.199, allocations: 3.938 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.199, allocations: 3.984 kB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.199, allocations: 4 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.199, allocations: 4 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.1991, allocations: 122.8 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.1992, allocations: 77.11 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1992, allocations: 7.938 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1993, allocations: 4 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.1993, allocations: 7.984 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1993, allocations: 3.984 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.778e-05/0.1994, allocations: 87.31 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1994, allocations: 0 / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001828/0.1996, allocations: 12 kB / 0.9039 GB, free: 59.91 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 (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.0003532/0.1999, allocations: 0.6801 MB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2, allocations: 83.33 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2001, allocations: 0 / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.2001, allocations: 71.39 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.2002, allocations: 7.094 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.2006, allocations: 148.4 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.2007, allocations: 0.6731 MB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.2008, allocations: 7.984 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.2008, allocations: 7.438 kB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2008, allocations: 0 / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.2115, allocations: 1.659 MB / 0.9072 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2117, allocations: 239 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.901, allocations: 0 / 0.9074 GB, free: 56.38 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)