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.175/2.175, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.00146/0.00146, allocations: 180.7 kB / 315.4 MB, free: 3.984 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.069/2.069, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 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.001048/0.001048, allocations: 102.1 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.022e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1927, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.341, allocations: 361.8 MB / 1.237 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/1.342, allocations: 95.61 kB / 1.238 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6216/1.963, allocations: 15.96 MB / 1.253 GB, free: 312.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.587e-06/1.964, allocations: 0.7812 kB / 1.253 GB, free: 312.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.046e-06/1.964, allocations: 1.125 kB / 1.253 GB, free: 312.5 MB / 0.8542 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.0004184/1.964, allocations: 380.1 kB / 1.254 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.964, allocations: 11.53 kB / 1.254 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/1.964, allocations: 3.25 kB / 1.254 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/1.964, allocations: 167.1 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.964, allocations: 2 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.964, allocations: 5.453 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.62e-05/1.964, allocations: 3.781 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.558e-05/1.964, allocations: 33.56 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.964, allocations: 3.281 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/1.964, allocations: 0 / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.964, allocations: 1.594 kB / 1.254 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/1.965, allocations: 140.5 kB / 1.254 GB, free: 311.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/1.965, allocations: 26.25 kB / 1.254 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/1.965, allocations: 7.891 kB / 1.254 GB, free: 311.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/1.965, allocations: 98.97 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/1.965, allocations: 32.12 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/1.965, allocations: 3.938 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002618/1.965, allocations: 55.17 kB / 1.254 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/1.965, allocations: 52.02 kB / 1.254 GB, free: 311.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/1.965, allocations: 91.5 kB / 1.254 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/1.965, allocations: 28.11 kB / 1.254 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/1.965, allocations: 85.67 kB / 1.254 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/1.965, allocations: 1.516 kB / 1.254 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.965, allocations: 0 / 1.254 GB, free: 311.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/1.966, allocations: 313.1 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/1.966, allocations: 5.375 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/1.966, allocations: 1.719 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/1.966, allocations: 17.2 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.966, allocations: 3.953 kB / 1.255 GB, free: 311 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/1.966, allocations: 51.33 kB / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.966, allocations: 6.031 kB / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.966, allocations: 0 / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.966, allocations: 3.719 kB / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/1.966, allocations: 3.484 kB / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.966, allocations: 5.328 kB / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/1.966, allocations: 256 / 1.255 GB, free: 310.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/1.966, allocations: 1.094 kB / 1.255 GB, free: 310.9 MB / 0.8542 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 (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 5.207e-05/1.966, allocations: 102.6 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001632/1.966, allocations: 59.55 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/1.966, allocations: 1.469 kB / 1.255 GB, free: 310.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/1.967, allocations: 56.8 kB / 1.255 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.967, allocations: 0.875 kB / 1.255 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.967, allocations: 1.641 kB / 1.255 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.967, allocations: 0 / 1.255 GB, free: 310.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/1.967, allocations: 143.3 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.967, allocations: 1.062 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/1.967, allocations: 4.281 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.967, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/1.967, allocations: 1.562 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.967, allocations: 2.125 kB / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.967, allocations: 0 / 1.255 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/1.967, allocations: 74.81 kB / 1.255 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/1.967, allocations: 84.89 kB / 1.255 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/1.967, allocations: 5.344 kB / 1.255 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.243e-05/1.967, allocations: 3.75 kB / 1.255 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/1.967, allocations: 1.641 kB / 1.255 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/1.967, allocations: 1.156 kB / 1.255 GB, free: 310.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.116e-05/1.967, allocations: 83.09 kB / 1.255 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/1.967, allocations: 0 / 1.255 GB, free: 310.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003455/1.968, allocations: 36.17 kB / 1.255 GB, free: 310.3 MB / 0.8542 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 (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.0005972/1.968, allocations: 0.6632 MB / 1.256 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/1.968, allocations: 7.25 kB / 1.256 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.968, allocations: 0.5625 kB / 1.256 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/1.968, allocations: 11.41 kB / 1.256 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.969, allocations: 5.906 kB / 1.256 GB, free: 309.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/1.969, allocations: 106.7 kB / 1.256 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/1.969, allocations: 0.6779 MB / 1.257 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.015e-05/1.969, allocations: 7.391 kB / 1.257 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/1.969, allocations: 16.08 kB / 1.257 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/1.969, allocations: 0 / 1.257 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/2.005, allocations: 1.389 MB / 1.258 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/2.005, allocations: 182.5 kB / 1.258 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/4.253, allocations: 1.094 kB / 1.258 GB, free: 308.6 MB / 0.8542 GB