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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.376/2.376, allocations: 248.5 MB / 261.1 MB, free: 6.039 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.001598/0.001598, allocations: 178 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001155/0.001155, allocations: 100.7 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.048e-05, allocations: 4 kB / 0.787 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 106.2 MB / 0.8907 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9123/1.132, allocations: 152.8 MB / 1.04 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004725/1.133, allocations: 128.5 kB / 1.04 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07674/1.209, allocations: 14.99 MB / 1.055 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.884e-06/1.209, allocations: 0 / 1.055 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.209, allocations: 0 / 1.055 GB, free: 1.426 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001205/1.211, allocations: 0.5521 MB / 1.055 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.211, allocations: 8.031 kB / 1.055 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.399e-05/1.211, allocations: 109.8 kB / 1.055 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/1.211, allocations: 83.45 kB / 1.055 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/1.211, allocations: 254.1 kB / 1.056 GB, free: 348 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/1.211, allocations: 165.9 kB / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.309e-05/1.211, allocations: 150.6 kB / 1.056 GB, free: 32 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/1.211, allocations: 101 kB / 1.056 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/1.211, allocations: 75.28 kB / 1.056 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/1.211, allocations: 150.6 kB / 1.056 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/1.212, allocations: 154.6 kB / 1.056 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/1.212, allocations: 154.5 kB / 1.057 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/1.212, allocations: 468.3 kB / 1.057 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.212, allocations: 169.1 kB / 1.057 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/1.212, allocations: 84.14 kB / 1.057 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/1.212, allocations: 75.28 kB / 1.057 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/1.212, allocations: 105.8 kB / 1.057 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/1.212, allocations: 0 / 1.057 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.004e-05/1.213, allocations: 37.55 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/1.213, allocations: 133.9 kB / 1.058 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/1.213, allocations: 123.1 kB / 1.058 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/1.213, allocations: 29.64 kB / 1.058 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/1.213, allocations: 91.02 kB / 1.058 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/1.213, allocations: 0 / 1.058 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/1.213, allocations: 0 / 1.058 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.213, allocations: 322.7 kB / 1.058 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/1.213, allocations: 4 kB / 1.058 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/1.213, allocations: 7.938 kB / 1.058 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/1.213, allocations: 7.312 kB / 1.058 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.213, allocations: 4.031 kB / 1.058 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/1.213, allocations: 53.48 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.213, allocations: 4 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.213, allocations: 7.984 kB / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.213, allocations: 0 / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/1.213, allocations: 0 / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.213, allocations: 3.984 kB / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/1.214, allocations: 8.062 kB / 1.058 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/1.214, allocations: 0 / 1.058 GB, free: 13.61 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001257/1.214, allocations: 184.2 kB / 1.058 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/1.214, allocations: 108.9 kB / 1.059 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/1.214, allocations: 116.4 kB / 1.059 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.314e-05/1.214, allocations: 180.5 kB / 1.059 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001126/1.214, allocations: 180.3 kB / 1.059 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/1.214, allocations: 180.2 kB / 1.059 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/1.215, allocations: 420.2 kB / 1.06 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.454e-05/1.215, allocations: 108.9 kB / 1.06 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/1.215, allocations: 101 kB / 1.06 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.212e-05/1.215, allocations: 180.3 kB / 1.06 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/1.215, allocations: 183.5 kB / 1.06 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.854e-05/1.215, allocations: 176.3 kB / 1.06 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/1.215, allocations: 184.2 kB / 1.06 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/1.215, allocations: 319.4 kB / 1.061 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/1.215, allocations: 178.1 kB / 1.061 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/1.215, allocations: 184.2 kB / 1.061 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.216, allocations: 109.9 kB / 1.061 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/1.216, allocations: 176.3 kB / 1.061 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/1.216, allocations: 108.4 kB / 1.061 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.405e-05/1.216, allocations: 104.6 kB / 1.062 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/1.216, allocations: 0 / 1.062 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001421/1.217, allocations: 325.7 kB / 1.062 GB, free: 9.703 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.002119/1.219, allocations: 1.218 MB / 1.063 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001356/1.22, allocations: 45.62 kB / 1.063 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.22, allocations: 4 kB / 1.063 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/1.22, allocations: 0 / 1.063 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/1.22, allocations: 0.53 MB / 1.064 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/1.221, allocations: 340 kB / 1.064 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/1.221, allocations: 0.6926 MB / 1.065 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.849e-05/1.221, allocations: 0 / 1.065 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/1.221, allocations: 22.5 kB / 1.065 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/1.221, allocations: 0 / 1.065 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/1.255, allocations: 6.586 MB / 1.071 GB, free: 364 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004447/1.255, allocations: 266.2 kB / 1.071 GB, free: 24 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/4.118, allocations: 4 kB / 1.071 GB, free: 20 kB / 0.6823 GB