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.163/2.163, allocations: 251 MB / 265.9 MB, free: 11.69 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.001509/0.001509, allocations: 184.6 kB / 325.5 MB, free: 2.902 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.267/2.267, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001154/0.001154, allocations: 95.02 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004702, allocations: 12.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.4493, allocations: 152.1 MB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004954/0.4498, allocations: 123.9 kB / 1.048 GB, free: 9.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7135/1.163, allocations: 14.73 MB / 1.062 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.163, allocations: 0 / 1.062 GB, free: 150.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.712e-05/1.163, allocations: 0 / 1.062 GB, free: 150.4 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.001402/1.165, allocations: 0.5741 MB / 1.063 GB, free: 150 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.165, allocations: 12.44 kB / 1.063 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/1.165, allocations: 106.6 kB / 1.063 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/1.165, allocations: 90.27 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.165, allocations: 246 kB / 1.063 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/1.165, allocations: 157.4 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/1.165, allocations: 150.6 kB / 1.063 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.857e-05/1.165, allocations: 108.1 kB / 1.063 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.165, allocations: 75.28 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/1.166, allocations: 150.6 kB / 1.064 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/1.166, allocations: 151.2 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/1.166, allocations: 161.2 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/1.166, allocations: 464.1 kB / 1.064 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/1.166, allocations: 171.3 kB / 1.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/1.166, allocations: 79 kB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.166, allocations: 105.8 kB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/1.166, allocations: 0 / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.943e-05/1.166, allocations: 34.52 kB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.166, allocations: 127.4 kB / 1.065 GB, free: 147.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.166, allocations: 128.4 kB / 1.065 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.166, allocations: 26.45 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/1.166, allocations: 94.89 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/1.167, allocations: 0 / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/1.167, allocations: 0 / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/1.167, allocations: 319.5 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/1.167, allocations: 7.281 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/1.167, allocations: 3.125 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/1.167, allocations: 3.953 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.167, allocations: 3.938 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001569/1.167, allocations: 53.52 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.167, allocations: 7.469 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/1.167, allocations: 4.484 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.167, allocations: 0 / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/1.167, allocations: 0 / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.167, allocations: 0 / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/1.167, allocations: 0.75 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.167, allocations: 2.781 kB / 1.065 GB, free: 147 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.182e-05/1.167, allocations: 196.2 kB / 1.066 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.167, allocations: 111 kB / 1.066 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/1.167, allocations: 107 kB / 1.066 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/1.167, allocations: 182.7 kB / 1.066 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.554e-05/1.167, allocations: 181.6 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.167, allocations: 182.9 kB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/1.168, allocations: 419.3 kB / 1.067 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/1.168, allocations: 104.3 kB / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/1.168, allocations: 110.8 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.69e-05/1.168, allocations: 179.8 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.033e-05/1.168, allocations: 186.8 kB / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.895e-05/1.168, allocations: 180.1 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-05/1.168, allocations: 179.8 kB / 1.068 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/1.168, allocations: 312 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/1.168, allocations: 188.4 kB / 1.068 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/1.168, allocations: 184.9 kB / 1.068 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/1.168, allocations: 106.7 kB / 1.068 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/1.168, allocations: 180 kB / 1.069 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/1.168, allocations: 104.2 kB / 1.069 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.945e-05/1.168, allocations: 98.84 kB / 1.069 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.168, allocations: 4 kB / 1.069 GB, free: 143.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001423/1.17, allocations: 321.3 kB / 1.069 GB, free: 143.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.002111/1.172, allocations: 1.206 MB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001485/1.172, allocations: 44.69 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.172, allocations: 0 / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/1.172, allocations: 4.297 kB / 1.07 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/1.173, allocations: 0.5269 MB / 1.071 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.174, allocations: 0.6 MB / 1.071 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/1.174, allocations: 0.6881 MB / 1.072 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.865e-05/1.174, allocations: 4.703 kB / 1.072 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/1.174, allocations: 14.95 kB / 1.072 GB, free: 140.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.174, allocations: 0 / 1.072 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/1.211, allocations: 6.416 MB / 1.078 GB, free: 140.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/1.211, allocations: 315 kB / 1.079 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.804, allocations: 3.938 kB / 1.079 GB, free: 139.8 MB / 0.698 GB