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.428/1.428, allocations: 251.9 MB / 266.8 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.001202/0.001202, allocations: 180.2 kB / 326.5 MB, free: 2.262 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.81/1.81, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008455/0.0008454, allocations: 105.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 11.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006784/0.2167, allocations: 293 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.217, allocations: 101 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.217, allocations: 0 / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.2171, allocations: 7.984 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.2171, allocations: 3.984 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2173, allocations: 35.84 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.228e-05/0.2173, allocations: 12 kB / 0.9006 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.2174, allocations: 7.984 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.2174, allocations: 11.98 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.2174, allocations: 11.94 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2175, allocations: 0 / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.2175, allocations: 11.98 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-06/0.2175, allocations: 0 / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.2175, allocations: 25.7 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.946e-05/0.2176, allocations: 19.97 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.2176, allocations: 0 / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2176, allocations: 0 / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.2176, allocations: 3.938 kB / 0.9007 GB, free: 63.3 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.0001927/0.2178, allocations: 349.1 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2179, allocations: 8.031 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.22e-05/0.2179, allocations: 30.56 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2179, allocations: 4 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.218, allocations: 167 kB / 0.9012 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.218, allocations: 4 kB / 0.9012 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2181, allocations: 7.984 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.643e-05/0.2182, allocations: 61.53 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.2182, allocations: 4 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2182, allocations: 4 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2182, allocations: 0 / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.2182, allocations: 11.98 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.2183, allocations: 153.6 kB / 0.9014 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.2184, allocations: 26.61 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.2184, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2184, allocations: 42.5 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.2184, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001977/0.2186, allocations: 107.4 kB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2187, allocations: 77.11 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.2187, allocations: 97.86 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2188, allocations: 25.7 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.527e-05/0.2188, allocations: 84.14 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2188, allocations: 4.156 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2188, allocations: 8 kB / 0.9019 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.2189, allocations: 314.8 kB / 0.9022 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.2189, allocations: 12 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.2189, allocations: 7.984 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.219, allocations: 45.59 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.219, allocations: 0 / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.2191, allocations: 95.38 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.2191, allocations: 33.7 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2191, allocations: 4.094 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2191, allocations: 0 / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.2192, allocations: 4 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2192, allocations: 0 / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2193, allocations: 7.984 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2193, allocations: 8 kB / 0.9024 GB, free: 61.27 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 6.081e-05/0.2194, allocations: 139.5 kB / 0.9025 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.2194, allocations: 4 kB / 0.9025 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-06/0.2194, allocations: 7.125 kB / 0.9025 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2194, allocations: 7.984 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2194, allocations: 3.938 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2195, allocations: 0 / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.217e-05/0.2195, allocations: 157.6 kB / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2195, allocations: 3.953 kB / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.2195, allocations: 0 / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2195, allocations: 0 / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2196, allocations: 4 kB / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2196, allocations: 0 / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2196, allocations: 3.938 kB / 0.9027 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.2197, allocations: 126.8 kB / 0.9028 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.2197, allocations: 85.05 kB / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2197, allocations: 0 / 0.9029 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2199, allocations: 8 kB / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.2199, allocations: 0 / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2199, allocations: 4 kB / 0.9029 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.979e-05/0.2199, allocations: 87.3 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2199, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001936/0.2201, allocations: 12 kB / 0.903 GB, free: 60.52 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.0003768/0.2205, allocations: 0.6781 MB / 0.9037 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2206, allocations: 83.38 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2206, allocations: 0 / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.2207, allocations: 71.39 kB / 0.9038 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.2208, allocations: 4.281 kB / 0.9038 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.2211, allocations: 138.9 kB / 0.904 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.2212, allocations: 0.6811 MB / 0.9046 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.929e-05/0.2213, allocations: 11.84 kB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.2213, allocations: 7.438 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2213, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2328, allocations: 1.603 MB / 0.9062 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.233, allocations: 217.6 kB / 0.9064 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/1.674, allocations: 0 / 0.9064 GB, free: 57.07 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)