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.242/2.242, allocations: 251 MB / 265.9 MB, free: 11.67 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.001617/0.001616, allocations: 180.7 kB / 325.5 MB, free: 2.891 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.244/2.244, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001133/0.001133, allocations: 98.58 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004752, allocations: 14.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/0.4601, allocations: 152.9 MB / 1.048 GB, free: 8.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004894/0.4606, allocations: 119.9 kB / 1.048 GB, free: 8.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7066/1.167, allocations: 15.07 MB / 1.063 GB, free: 148.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/1.167, allocations: 0 / 1.063 GB, free: 148.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.167, allocations: 4.219 kB / 1.063 GB, free: 148.5 MB / 0.698 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.001229/1.169, allocations: 0.5723 MB / 1.064 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.169, allocations: 9.672 kB / 1.064 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/1.169, allocations: 109 kB / 1.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/1.169, allocations: 94.23 kB / 1.064 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.169, allocations: 244.5 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.169, allocations: 154.4 kB / 1.064 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/1.169, allocations: 154.2 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.226e-05/1.169, allocations: 101 kB / 1.064 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/1.169, allocations: 75.28 kB / 1.064 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/1.169, allocations: 151.4 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.169, allocations: 150.6 kB / 1.065 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/1.169, allocations: 165.3 kB / 1.065 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/1.169, allocations: 462.6 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/1.17, allocations: 168.7 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.17, allocations: 75.28 kB / 1.066 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.17, allocations: 110.5 kB / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/1.17, allocations: 0 / 1.066 GB, free: 145.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.996e-05/1.17, allocations: 36.28 kB / 1.066 GB, free: 145.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.17, allocations: 130.5 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.17, allocations: 121.3 kB / 1.066 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.17, allocations: 25.7 kB / 1.066 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/1.17, allocations: 91.81 kB / 1.066 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/1.17, allocations: 3.906 kB / 1.066 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/1.17, allocations: 4 kB / 1.066 GB, free: 145.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/1.17, allocations: 323.1 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/1.17, allocations: 6.344 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/1.17, allocations: 6.531 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/1.17, allocations: 9 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.17, allocations: 3.938 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000154/1.17, allocations: 50.08 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.17, allocations: 6.844 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.17, allocations: 2.906 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.17, allocations: 0.7188 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/1.17, allocations: 4.562 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.17, allocations: 0 / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/1.171, allocations: 3.922 kB / 1.066 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/1.171, allocations: 0 / 1.066 GB, free: 145 MB / 0.698 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 (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 8.001e-05/1.171, allocations: 191.2 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/1.171, allocations: 113.4 kB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/1.171, allocations: 116.3 kB / 1.067 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/1.171, allocations: 183.9 kB / 1.067 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/1.171, allocations: 178.1 kB / 1.067 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/1.171, allocations: 184.8 kB / 1.067 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/1.171, allocations: 420 kB / 1.068 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/1.171, allocations: 106 kB / 1.068 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/1.171, allocations: 105.6 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.599e-05/1.171, allocations: 185.3 kB / 1.068 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/1.171, allocations: 179.6 kB / 1.068 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/1.171, allocations: 180.1 kB / 1.068 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-05/1.171, allocations: 180.2 kB / 1.069 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/1.171, allocations: 318.2 kB / 1.069 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/1.172, allocations: 181 kB / 1.069 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/1.172, allocations: 181.7 kB / 1.069 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/1.172, allocations: 107.2 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/1.172, allocations: 177.8 kB / 1.07 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/1.172, allocations: 112.2 kB / 1.07 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.578e-05/1.172, allocations: 102.2 kB / 1.07 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.172, allocations: 0 / 1.07 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00146/1.173, allocations: 331.2 kB / 1.07 GB, free: 141.4 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 (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.002614/1.176, allocations: 1.199 MB / 1.071 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001581/1.176, allocations: 42.08 kB / 1.071 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.176, allocations: 0 / 1.071 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/1.176, allocations: 1.172 kB / 1.071 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.177, allocations: 0.5294 MB / 1.072 GB, free: 140 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/1.178, allocations: 0.6061 MB / 1.072 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/1.178, allocations: 0.6891 MB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.891e-05/1.178, allocations: 1.625 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/1.178, allocations: 13.83 kB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.178, allocations: 0 / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/1.216, allocations: 6.558 MB / 1.08 GB, free: 138.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.216, allocations: 302.8 kB / 1.08 GB, free: 137.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.92, allocations: 3.094 kB / 1.08 GB, free: 137.9 MB / 0.698 GB