Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.28/2.28, allocations: 251 MB / 265.9 MB, free: 11.69 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.001532/0.001531, allocations: 172.1 kB / 325.5 MB, free: 2.906 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.383/2.383, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001156/0.001155, allocations: 94.5 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004713, allocations: 12.12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.464, allocations: 361.6 MB / 1.252 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005077/1.465, allocations: 96.75 kB / 1.252 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.0894/1.554, allocations: 16.08 MB / 1.268 GB, free: 11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.685e-06/1.554, allocations: 0 / 1.268 GB, free: 11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.554, allocations: 0 / 1.268 GB, free: 11 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006176/1.555, allocations: 379.2 kB / 1.268 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.555, allocations: 8.031 kB / 1.268 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/1.555, allocations: 38.48 kB / 1.268 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/1.555, allocations: 7.953 kB / 1.268 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/1.555, allocations: 168.3 kB / 1.268 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.555, allocations: 0 / 1.268 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/1.555, allocations: 7.938 kB / 1.268 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.555, allocations: 30.89 kB / 1.268 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.555, allocations: 0 / 1.268 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.556, allocations: 1.5 kB / 1.268 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.556, allocations: 0 / 1.268 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/1.556, allocations: 11.94 kB / 1.268 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/1.556, allocations: 157.9 kB / 1.269 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/1.556, allocations: 32.08 kB / 1.269 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000397/1.556, allocations: 93.16 kB / 1.269 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/1.556, allocations: 36.12 kB / 1.269 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 5.35e-06/1.557, allocations: 0 / 1.269 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002142/1.557, allocations: 44.97 kB / 1.269 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/1.557, allocations: 63.38 kB / 1.269 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.557, allocations: 90.5 kB / 1.269 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/1.557, allocations: 27.27 kB / 1.269 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/1.557, allocations: 84.12 kB / 1.269 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/1.557, allocations: 7.406 kB / 1.269 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/1.557, allocations: 4 kB / 1.269 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.557, allocations: 314.8 kB / 1.269 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/1.557, allocations: 0 / 1.269 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/1.557, allocations: 8 kB / 1.269 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/1.557, allocations: 7.625 kB / 1.269 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.557, allocations: 0 / 1.269 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/1.558, allocations: 37.69 kB / 1.269 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.558, allocations: 4 kB / 1.269 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.558, allocations: 0 / 1.269 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.558, allocations: 4 kB / 1.269 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/1.558, allocations: 3.938 kB / 1.269 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.558, allocations: 0 / 1.269 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/1.558, allocations: 8.094 kB / 1.269 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/1.558, allocations: 0 / 1.269 GB, free: 9.145 MB / 0.7761 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001186/1.558, allocations: 113.1 kB / 1.269 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/1.558, allocations: 4 kB / 1.27 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/1.558, allocations: 44.31 kB / 1.27 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.558, allocations: 0 / 1.27 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.558, allocations: 256 / 1.27 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.558, allocations: 0 / 1.27 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/1.559, allocations: 181 kB / 1.27 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.559, allocations: 0 / 1.27 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/1.559, allocations: 0 / 1.27 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/1.559, allocations: 7.984 kB / 1.27 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.559, allocations: 0 / 1.27 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.559, allocations: 3.938 kB / 1.27 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.559, allocations: 0 / 1.27 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/1.559, allocations: 68.62 kB / 1.27 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/1.559, allocations: 88.56 kB / 1.27 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/1.559, allocations: 3.938 kB / 1.27 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/1.559, allocations: 0 / 1.27 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/1.559, allocations: 4 kB / 1.27 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.559, allocations: 0 / 1.27 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.058e-05/1.559, allocations: 79.28 kB / 1.27 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.71e-07/1.559, allocations: 0 / 1.27 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000538/1.56, allocations: 31.67 kB / 1.27 GB, free: 8.449 MB / 0.7761 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0008398/1.561, allocations: 0.6649 MB / 1.271 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001101/1.561, allocations: 11.38 kB / 1.271 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.561, allocations: 0 / 1.271 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.203e-05/1.561, allocations: 4 kB / 1.271 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/1.561, allocations: 0 / 1.271 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/1.562, allocations: 204 kB / 1.271 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/1.562, allocations: 0.677 MB / 1.272 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.001e-05/1.562, allocations: 4 kB / 1.272 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/1.562, allocations: 11.38 kB / 1.272 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/1.562, allocations: 4 kB / 1.272 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.582, allocations: 1.895 MB / 1.273 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/1.582, allocations: 213.4 kB / 1.274 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.992, allocations: 0 / 1.274 GB, free: 4.844 MB / 0.7761 GB