Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.206/2.206, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001544, allocations: 190.3 kB / 315.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 98.59 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.514e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2047, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8781/1.083, allocations: 131.9 MB / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.083, allocations: 82.47 kB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0179/1.101, allocations: 3.81 MB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.378e-06/1.101, allocations: 4 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.101, allocations: 0 / 1.017 GB, free: 3.715 MB / 0.6355 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.0003597/1.102, allocations: 347.7 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/1.102, allocations: 12.03 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/1.102, allocations: 3.938 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/1.102, allocations: 167 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.102, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.102, allocations: 8 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.484e-05/1.102, allocations: 19.92 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/1.102, allocations: 49.47 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.102, allocations: 4 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/1.102, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.102, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/1.102, allocations: 134.2 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/1.102, allocations: 30.3 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/1.103, allocations: 12.92 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/1.103, allocations: 4 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.103, allocations: 34.25 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/1.103, allocations: 0 / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002547/1.103, allocations: 53.56 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.103, allocations: 81.09 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/1.103, allocations: 93.03 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.103, allocations: 25.7 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.103, allocations: 87.7 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/1.103, allocations: 3.938 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/1.103, allocations: 4 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.103, allocations: 310.8 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/1.103, allocations: 7.938 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/1.103, allocations: 8 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/1.103, allocations: 16.05 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.103, allocations: 4 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001942/1.104, allocations: 65.36 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/1.104, allocations: 33.7 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.104, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.104, allocations: 3.984 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/1.104, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.104, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/1.104, allocations: 4 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.104, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.6355 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 () * 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 0.0001169/1.104, allocations: 141.5 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00018/1.104, allocations: 65.39 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/1.104, allocations: 11.88 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/1.104, allocations: 7.703 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.104, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.104, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.104, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/1.105, allocations: 134.2 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.105, allocations: 0 / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/1.105, allocations: 4.031 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.105, allocations: 3.984 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/1.105, allocations: 7.938 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.105, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.105, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/1.105, allocations: 80.88 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/1.105, allocations: 81.06 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/1.105, allocations: 7.984 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/1.105, allocations: 8.031 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/1.105, allocations: 4 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/1.105, allocations: 4 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.015e-05/1.105, allocations: 79.28 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.91e-07/1.105, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003282/1.106, allocations: 23.92 kB / 1.019 GB, free: 1.215 MB / 0.6355 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 () * 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.0006932/1.106, allocations: 0.6379 MB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001809/1.107, allocations: 75.33 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.107, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/1.107, allocations: 67.25 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/1.107, allocations: 4 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/1.108, allocations: 209 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/1.108, allocations: 0.6768 MB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.96e-05/1.108, allocations: 0 / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/1.108, allocations: 7.438 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.108, allocations: 4 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/1.148, allocations: 1.303 MB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003606/1.149, allocations: 168.1 kB / 1.022 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.523, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.6511 GB