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.363/1.363, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001133/0.001133, allocations: 185.1 kB / 326.5 MB, free: 2.242 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.832/1.832, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008803/0.0008803, allocations: 92.05 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 9.156 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4028, allocations: 131.9 MB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4031, allocations: 83.94 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00982/0.4129, allocations: 3.814 MB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.413, allocations: 0 / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.413, allocations: 0 / 1.033 GB, free: 8.242 MB / 0.6823 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.0003595/0.4134, allocations: 357 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.4134, allocations: 8.031 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.4135, allocations: 38.56 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4135, allocations: 7.984 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4137, allocations: 167 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4137, allocations: 0 / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4137, allocations: 4 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4139, allocations: 57.66 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.4139, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4139, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4139, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.414, allocations: 11.94 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.4141, allocations: 161.6 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.4142, allocations: 30.61 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.4142, allocations: 0 / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4142, allocations: 34.62 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.4142, allocations: 0 / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002554/0.4145, allocations: 103.3 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4146, allocations: 81.11 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.4147, allocations: 101 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.4147, allocations: 25.7 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.4147, allocations: 80.14 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.4148, allocations: 4 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.4148, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4149, allocations: 314.8 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.4149, allocations: 11.98 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.415, allocations: 8 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.415, allocations: 45.88 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.415, allocations: 3.953 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001363/0.4152, allocations: 99.23 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4152, allocations: 29.7 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4152, allocations: 3.938 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4152, allocations: 0 / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-06/0.4152, allocations: 4 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4153, allocations: 7.922 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4154, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4154, allocations: 12.03 kB / 1.034 GB, free: 6.207 MB / 0.6823 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 9.372e-05/0.4155, allocations: 139.5 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.4155, allocations: 7.953 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.4155, allocations: 3.125 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4156, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4156, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4156, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.4157, allocations: 153.7 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4157, allocations: 0 / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.4157, allocations: 7.953 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4157, allocations: 8 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4157, allocations: 3.984 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4157, allocations: 0 / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4157, allocations: 0 / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.4159, allocations: 118.8 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.4159, allocations: 85.09 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.416, allocations: 3.953 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.4161, allocations: 12.03 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.4161, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4161, allocations: 4 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.4161, allocations: 79.27 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4162, allocations: 0 / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001879/0.4163, allocations: 12 kB / 1.035 GB, free: 5.473 MB / 0.6823 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.0005638/0.4169, allocations: 0.6775 MB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.4171, allocations: 87.33 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4171, allocations: 0 / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.4171, allocations: 67.48 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.4173, allocations: 15.89 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.418, allocations: 236.2 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.4182, allocations: 0.677 MB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.25e-05/0.4183, allocations: 11.92 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.4183, allocations: 7.438 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4183, allocations: 0 / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.4304, allocations: 1.588 MB / 1.038 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.4306, allocations: 220.3 kB / 1.039 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.953, allocations: 3.656 kB / 1.039 GB, free: 1.926 MB / 0.6823 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)