Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.26/2.26, allocations: 251 MB / 265.9 MB, free: 11.7 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.001554/0.001554, allocations: 175.6 kB / 325.5 MB, free: 2.895 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.294/2.294, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001145/0.001145, allocations: 94.56 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005171, allocations: 11.59 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2119, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.4383, allocations: 136 MB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/0.4387, allocations: 119.9 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03065/0.4694, allocations: 5.898 MB / 1.038 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.488e-06/0.4695, allocations: 4 kB / 1.038 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.4695, allocations: 4 kB / 1.038 GB, free: 3.711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005689/0.4701, allocations: 407 kB / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4701, allocations: 8.031 kB / 1.038 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.986e-05/0.4702, allocations: 34.56 kB / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.4702, allocations: 7.859 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.4703, allocations: 167 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4704, allocations: 4 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.4704, allocations: 0 / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.4705, allocations: 41.62 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4705, allocations: 4 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.4706, allocations: 0 / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4706, allocations: 0 / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.4706, allocations: 15.98 kB / 1.038 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.4709, allocations: 161.6 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.471, allocations: 42.61 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.4722, allocations: 0.9818 MB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4723, allocations: 34.56 kB / 1.039 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.4723, allocations: 0 / 1.039 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002316/0.4725, allocations: 57.59 kB / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.4726, allocations: 55.41 kB / 1.04 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.4727, allocations: 97 kB / 1.04 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4727, allocations: 29.69 kB / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.4727, allocations: 88.14 kB / 1.04 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4728, allocations: 11.83 kB / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.4728, allocations: 0 / 1.04 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4729, allocations: 322.7 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.473, allocations: 7.984 kB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.473, allocations: 7.938 kB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.4731, allocations: 16.28 kB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4731, allocations: 0 / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.4732, allocations: 57.58 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4732, allocations: 4 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4732, allocations: 0 / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4733, allocations: 0 / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4734, allocations: 15.98 kB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4735, allocations: 0 / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.4735, allocations: 0 / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4735, allocations: 4 kB / 1.04 GB, free: 0.6211 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 (4): * Single equations (assignments): 4 * 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 9.208e-05/0.4736, allocations: 117.8 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.4737, allocations: 11.84 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.4738, allocations: 61.53 kB / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4739, allocations: 0 / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4739, allocations: 0 / 1.04 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4739, allocations: 3.984 kB / 1.04 GB, free: 420 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.474, allocations: 165.6 kB / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4741, allocations: 0 / 1.04 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.4742, allocations: 16 kB / 1.04 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4742, allocations: 3.984 kB / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4742, allocations: 0 / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4742, allocations: 0 / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4743, allocations: 0 / 1.04 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.4744, allocations: 77.12 kB / 1.041 GB, free: 88 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.4745, allocations: 88.97 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4745, allocations: 0 / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.4746, allocations: 0 / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.4746, allocations: 8 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4746, allocations: 0 / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.522e-05/0.4747, allocations: 87.27 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.104e-06/0.4747, allocations: 0 / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003555/0.4751, allocations: 43.88 kB / 1.041 GB, free: 15.84 MB / 0.698 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 (4): * Single equations (assignments): 4 * 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.0006401/0.4757, allocations: 0.6826 MB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4758, allocations: 16 kB / 1.041 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4759, allocations: 4 kB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.4759, allocations: 12 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.4762, allocations: 9.016 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.4767, allocations: 227.9 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.477, allocations: 0.6809 MB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.626e-05/0.4771, allocations: 8.359 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.4771, allocations: 11.44 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/0.4771, allocations: 0 / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.5035, allocations: 1.882 MB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004028/0.504, allocations: 269.8 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.864, allocations: 3.859 kB / 1.044 GB, free: 12.05 MB / 0.698 GB