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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.736/2.736, allocations: 248.5 MB / 261 MB, free: 5.941 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.001461/0.001461, allocations: 179.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001172/0.001171, allocations: 97.52 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.357e-05, allocations: 4 kB / 0.787 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 106.3 MB / 0.8907 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9096/1.129, allocations: 152.1 MB / 1.039 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005137/1.13, allocations: 129 kB / 1.039 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07903/1.209, allocations: 14.68 MB / 1.054 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.425e-06/1.209, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.209, allocations: 0 / 1.054 GB, free: 2.391 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.001309/1.21, allocations: 0.5513 MB / 1.054 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.21, allocations: 8.031 kB / 1.054 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.072e-05/1.21, allocations: 109.8 kB / 1.054 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/1.21, allocations: 87.45 kB / 1.054 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/1.211, allocations: 250.2 kB / 1.055 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/1.211, allocations: 150.6 kB / 1.055 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/1.211, allocations: 154.6 kB / 1.055 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/1.211, allocations: 104.9 kB / 1.055 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/1.211, allocations: 75.28 kB / 1.055 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/1.211, allocations: 154.6 kB / 1.055 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/1.211, allocations: 154.4 kB / 1.055 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/1.211, allocations: 154.5 kB / 1.056 GB, free: 380 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/1.212, allocations: 460.8 kB / 1.056 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/1.212, allocations: 173.1 kB / 1.056 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/1.212, allocations: 84.14 kB / 1.056 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/1.212, allocations: 75.28 kB / 1.056 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.212, allocations: 105.8 kB / 1.056 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.555e-06/1.212, allocations: 0 / 1.056 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/1.212, allocations: 33.52 kB / 1.056 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/1.212, allocations: 134.7 kB / 1.057 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/1.212, allocations: 118.3 kB / 1.057 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.212, allocations: 29.7 kB / 1.057 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/1.212, allocations: 86.83 kB / 1.057 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/1.212, allocations: 0 / 1.057 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/1.212, allocations: 0 / 1.057 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.213, allocations: 330.1 kB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/1.213, allocations: 3.938 kB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/1.213, allocations: 11.94 kB / 1.057 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/1.213, allocations: 7.75 kB / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.213, allocations: 0 / 1.057 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001722/1.213, allocations: 45.61 kB / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.213, allocations: 4 kB / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/1.213, allocations: 7.984 kB / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.213, allocations: 0 / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-06/1.213, allocations: 48 / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/1.213, allocations: 0 / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/1.213, allocations: 3.984 kB / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/1.213, allocations: 4 kB / 1.057 GB, free: 14.59 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.0001281/1.213, allocations: 190.9 kB / 1.057 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/1.213, allocations: 112.8 kB / 1.058 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/1.213, allocations: 108.6 kB / 1.058 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.404e-05/1.214, allocations: 183.7 kB / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.351e-05/1.214, allocations: 180.5 kB / 1.058 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/1.214, allocations: 184.3 kB / 1.058 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/1.214, allocations: 416.5 kB / 1.059 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/1.214, allocations: 109 kB / 1.059 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/1.214, allocations: 104.9 kB / 1.059 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-05/1.214, allocations: 176.3 kB / 1.059 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.457e-05/1.214, allocations: 180.3 kB / 1.059 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/1.215, allocations: 184.2 kB / 1.059 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.982e-05/1.215, allocations: 176.3 kB / 1.059 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/1.215, allocations: 314.8 kB / 1.06 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/1.215, allocations: 186 kB / 1.06 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/1.215, allocations: 187.8 kB / 1.06 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/1.215, allocations: 105.9 kB / 1.06 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/1.215, allocations: 184.2 kB / 1.06 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/1.215, allocations: 101 kB / 1.06 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001116/1.215, allocations: 100.4 kB / 1.061 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.215, allocations: 0 / 1.061 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001394/1.217, allocations: 317.9 kB / 1.061 GB, free: 10.69 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.002608/1.22, allocations: 1.213 MB / 1.062 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001738/1.22, allocations: 45.2 kB / 1.062 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.22, allocations: 4.062 kB / 1.062 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/1.22, allocations: 0 / 1.062 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/1.22, allocations: 0.5262 MB / 1.063 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.221, allocations: 333.9 kB / 1.063 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.222, allocations: 0.6926 MB / 1.064 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.71e-05/1.222, allocations: 0 / 1.064 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/1.222, allocations: 19.3 kB / 1.064 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/1.222, allocations: 0 / 1.064 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/1.256, allocations: 6.445 MB / 1.07 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000404/1.257, allocations: 292.7 kB / 1.07 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.948, allocations: 7.797 kB / 1.07 GB, free: 1.117 MB / 0.6823 GB