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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.11/2.11, allocations: 251 MB / 265.9 MB, free: 11.68 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.00161/0.00161, allocations: 184.5 kB / 325.5 MB, free: 2.898 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.334/2.334, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001241/0.00124, allocations: 97.5 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006397, allocations: 13.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.221, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/0.4775, allocations: 152.9 MB / 1.048 GB, free: 8.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004588/0.478, allocations: 127.9 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6637/1.142, allocations: 15.03 MB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.142, allocations: 0 / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.11e-05/1.142, allocations: 7 kB / 1.063 GB, free: 150.9 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.001166/1.143, allocations: 0.5751 MB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.143, allocations: 9.531 kB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/1.143, allocations: 108.3 kB / 1.064 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/1.143, allocations: 86.95 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.143, allocations: 255.3 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/1.143, allocations: 154.2 kB / 1.064 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/1.143, allocations: 158.5 kB / 1.064 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.076e-05/1.143, allocations: 104.6 kB / 1.064 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.143, allocations: 75.28 kB / 1.064 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/1.144, allocations: 153.5 kB / 1.065 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.144, allocations: 151.3 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/1.144, allocations: 158.5 kB / 1.065 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/1.144, allocations: 465.6 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/1.144, allocations: 167.3 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/1.144, allocations: 77.72 kB / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.144, allocations: 110.5 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/1.144, allocations: 3.031 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.908e-05/1.144, allocations: 30.27 kB / 1.066 GB, free: 148.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.144, allocations: 131.9 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/1.144, allocations: 122 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/1.144, allocations: 26.36 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/1.144, allocations: 90.61 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/1.144, allocations: 0 / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.144, allocations: 4 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/1.144, allocations: 320 kB / 1.066 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/1.144, allocations: 6.531 kB / 1.066 GB, free: 147.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/1.145, allocations: 7.594 kB / 1.066 GB, free: 147.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/1.145, allocations: 5.75 kB / 1.066 GB, free: 147.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.145, allocations: 0 / 1.066 GB, free: 147.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001475/1.145, allocations: 62.02 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.145, allocations: 6.734 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.145, allocations: 3 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.145, allocations: 0.5625 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/1.145, allocations: 4.062 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.145, allocations: 0.6562 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/1.145, allocations: 6.875 kB / 1.066 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/1.145, allocations: 0 / 1.066 GB, free: 147.4 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 7.614e-05/1.145, allocations: 192.6 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/1.145, allocations: 111.9 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/1.145, allocations: 108.9 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.145, allocations: 186 kB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/1.145, allocations: 177.1 kB / 1.067 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-05/1.145, allocations: 183.2 kB / 1.067 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/1.145, allocations: 421.3 kB / 1.068 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.146, allocations: 105.6 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/1.146, allocations: 105.7 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.388e-05/1.146, allocations: 179.8 kB / 1.068 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/1.146, allocations: 184.5 kB / 1.068 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.16e-05/1.146, allocations: 177 kB / 1.068 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.462e-05/1.146, allocations: 184 kB / 1.069 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.003e-05/1.146, allocations: 315.6 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/1.146, allocations: 187.4 kB / 1.069 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/1.146, allocations: 180.6 kB / 1.069 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/1.146, allocations: 104.9 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/1.146, allocations: 181.5 kB / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.146, allocations: 111.8 kB / 1.07 GB, free: 144 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.204e-05/1.146, allocations: 101.6 kB / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.146, allocations: 0 / 1.07 GB, free: 143.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001439/1.148, allocations: 330.3 kB / 1.07 GB, free: 143.8 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.002027/1.15, allocations: 1.206 MB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001583/1.15, allocations: 39.33 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.15, allocations: 0 / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/1.15, allocations: 5.203 kB / 1.071 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/1.15, allocations: 0.5323 MB / 1.072 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/1.151, allocations: 0.6014 MB / 1.072 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/1.152, allocations: 0.6893 MB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.95e-05/1.152, allocations: 0.9688 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/1.152, allocations: 18.19 kB / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.152, allocations: 0 / 1.073 GB, free: 141.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/1.186, allocations: 6.567 MB / 1.08 GB, free: 140.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.186, allocations: 315 kB / 1.08 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.988, allocations: 3.938 kB / 1.08 GB, free: 140.2 MB / 0.698 GB