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.246/1.246, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008782/0.0008783, allocations: 183.3 kB / 325.9 MB, free: 2.711 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.295/1.295, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006712/0.0006712, allocations: 93.64 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002704, allocations: 15.89 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1586, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006179/0.1593, allocations: 306.1 kB / 0.8965 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.1595, allocations: 107.7 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.1595, allocations: 4 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.1596, allocations: 11.98 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.1597, allocations: 4 kB / 0.8966 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.896e-05/0.1598, allocations: 35.84 kB / 0.8967 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.1598, allocations: 19.98 kB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.1598, allocations: 12.73 kB / 0.8967 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1599, allocations: 8 kB / 0.8967 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.396e-05/0.1599, allocations: 19.97 kB / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1599, allocations: 0 / 0.8967 GB, free: 67.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.16, allocations: 8 kB / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.16, allocations: 0 / 0.8967 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.16, allocations: 15.92 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.823e-05/0.1601, allocations: 27.97 kB / 0.8968 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1601, allocations: 0 / 0.8968 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1601, allocations: 0 / 0.8968 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.1601, allocations: 0 / 0.8968 GB, free: 67.54 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.0001794/0.1603, allocations: 349.5 kB / 0.8971 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1603, allocations: 16.03 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.854e-05/0.1604, allocations: 30.75 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.1604, allocations: 4.938 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.1605, allocations: 164.4 kB / 0.8973 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.1605, allocations: 4.375 kB / 0.8973 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1605, allocations: 8.312 kB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.1606, allocations: 50.23 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.1606, allocations: 3.938 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1606, allocations: 4 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.1606, allocations: 4 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.1606, allocations: 15.98 kB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.518e-05/0.1607, allocations: 145.7 kB / 0.8975 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.1608, allocations: 30.61 kB / 0.8976 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.1608, allocations: 20.84 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.1608, allocations: 3.938 kB / 0.8976 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.1608, allocations: 34.56 kB / 0.8976 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1608, allocations: 7.938 kB / 0.8976 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001683/0.161, allocations: 107.3 kB / 0.8977 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.161, allocations: 81.09 kB / 0.8978 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.938e-05/0.1611, allocations: 97.86 kB / 0.8979 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.1611, allocations: 29.7 kB / 0.8979 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.082e-05/0.1611, allocations: 80.14 kB / 0.898 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1611, allocations: 7.891 kB / 0.898 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.1612, allocations: 13.97 kB / 0.898 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.1612, allocations: 314.8 kB / 0.8983 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.1612, allocations: 19.92 kB / 0.8983 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.1613, allocations: 11.98 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.1613, allocations: 76.27 kB / 0.8984 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1613, allocations: 0 / 0.8984 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.459e-05/0.1614, allocations: 95.38 kB / 0.8985 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1615, allocations: 37.64 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1615, allocations: 4.094 kB / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.1615, allocations: 0 / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1615, allocations: 0 / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.1615, allocations: 0 / 0.8986 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1616, allocations: 7.984 kB / 0.8986 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1616, allocations: 8 kB / 0.8986 GB, free: 65.41 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 5.265e-05/0.1617, allocations: 139.5 kB / 0.8987 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.1617, allocations: 11.92 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-06/0.1617, allocations: 7.125 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1617, allocations: 4 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1617, allocations: 0 / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1617, allocations: 0 / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.375e-05/0.1618, allocations: 153.7 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1618, allocations: 3.984 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1618, allocations: 0 / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1618, allocations: 3.938 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.1618, allocations: 8 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1618, allocations: 3.984 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1618, allocations: 0 / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1619, allocations: 130.8 kB / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.162, allocations: 81.09 kB / 0.8991 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.162, allocations: 3.938 kB / 0.8991 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1621, allocations: 8 kB / 0.8991 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1621, allocations: 0 / 0.8991 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1621, allocations: 7.984 kB / 0.8991 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.522e-05/0.1621, allocations: 87.25 kB / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1621, allocations: 0 / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001661/0.1623, allocations: 15.94 kB / 0.8992 GB, free: 64.64 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.0003076/0.1626, allocations: 0.674 MB / 0.8999 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.059e-05/0.1627, allocations: 83.38 kB / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1627, allocations: 0 / 0.8999 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.1628, allocations: 75.33 kB / 0.9 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.1629, allocations: 4.984 kB / 0.9 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1632, allocations: 140.3 kB / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.1632, allocations: 0.6733 MB / 0.9008 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.875e-05/0.1633, allocations: 4 kB / 0.9008 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.1633, allocations: 11.42 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.1633, allocations: 0 / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3343/0.4976, allocations: 1.649 MB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.4978, allocations: 248.8 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.074, allocations: 3.938 kB / 0.9027 GB, free: 61.12 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)