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.439/2.439, allocations: 248.5 MB / 261 MB, free: 6.082 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.002115/0.002115, allocations: 182.1 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.169/2.169, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001129/0.001129, allocations: 93.33 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.073e-05, allocations: 4 kB / 0.787 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.2 MB / 0.8907 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9235/1.14, allocations: 152.8 MB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004536/1.141, allocations: 115.5 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07905/1.22, allocations: 15 MB / 1.055 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.753e-06/1.22, allocations: 0 / 1.055 GB, free: 1.391 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.22, allocations: 0 / 1.055 GB, free: 1.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.001252/1.221, allocations: 0.5591 MB / 1.055 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/1.221, allocations: 12.03 kB / 1.055 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.195e-05/1.221, allocations: 105.8 kB / 1.055 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.657e-05/1.221, allocations: 87.45 kB / 1.055 GB, free: 0.5859 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/1.221, allocations: 258.1 kB / 1.056 GB, free: 300 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.222, allocations: 150.6 kB / 1.056 GB, free: 148 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/1.222, allocations: 158.4 kB / 1.056 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/1.222, allocations: 101 kB / 1.056 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/1.222, allocations: 75.28 kB / 1.056 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/1.222, allocations: 150.6 kB / 1.056 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/1.222, allocations: 150.6 kB / 1.056 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/1.222, allocations: 162.5 kB / 1.057 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/1.222, allocations: 464.9 kB / 1.057 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/1.223, allocations: 167.5 kB / 1.057 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/1.223, allocations: 80.14 kB / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/1.223, allocations: 75.28 kB / 1.057 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/1.223, allocations: 109.8 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/1.223, allocations: 0 / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001045/1.223, allocations: 37.55 kB / 1.057 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/1.223, allocations: 133.4 kB / 1.058 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/1.223, allocations: 117.9 kB / 1.058 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.223, allocations: 25.7 kB / 1.058 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/1.223, allocations: 90.77 kB / 1.058 GB, free: 14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/1.223, allocations: 7.938 kB / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/1.223, allocations: 0 / 1.058 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.223, allocations: 322.3 kB / 1.058 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/1.223, allocations: 7.312 kB / 1.058 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/1.223, allocations: 7.938 kB / 1.058 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/1.224, allocations: 4 kB / 1.058 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.224, allocations: 0 / 1.058 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001611/1.224, allocations: 55.67 kB / 1.058 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.224, allocations: 4 kB / 1.058 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.224, allocations: 8.047 kB / 1.058 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.224, allocations: 4 kB / 1.058 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/1.224, allocations: 0 / 1.058 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.224, allocations: 4 kB / 1.058 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/1.224, allocations: 0 / 1.058 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/1.224, allocations: 0 / 1.058 GB, free: 13.58 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.0001143/1.224, allocations: 180.2 kB / 1.058 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/1.224, allocations: 108.9 kB / 1.059 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/1.224, allocations: 120.3 kB / 1.059 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.127e-05/1.224, allocations: 180.5 kB / 1.059 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.94e-05/1.224, allocations: 184.2 kB / 1.059 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-05/1.224, allocations: 176.3 kB / 1.059 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/1.225, allocations: 415.6 kB / 1.06 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.264e-05/1.225, allocations: 108.9 kB / 1.06 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/1.225, allocations: 109 kB / 1.06 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-05/1.225, allocations: 183.7 kB / 1.06 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/1.225, allocations: 180.3 kB / 1.06 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.98e-05/1.225, allocations: 176.3 kB / 1.06 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.15e-05/1.225, allocations: 184.2 kB / 1.06 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/1.226, allocations: 319 kB / 1.061 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/1.226, allocations: 178.1 kB / 1.061 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/1.226, allocations: 180.3 kB / 1.061 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/1.226, allocations: 109.9 kB / 1.061 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/1.226, allocations: 178.8 kB / 1.061 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/1.226, allocations: 112.9 kB / 1.061 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001099/1.226, allocations: 106.5 kB / 1.062 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/1.226, allocations: 0 / 1.062 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001398/1.228, allocations: 326.9 kB / 1.062 GB, free: 9.66 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.002379/1.23, allocations: 1.224 MB / 1.063 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000156/1.23, allocations: 45.56 kB / 1.063 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.23, allocations: 0 / 1.063 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/1.23, allocations: 0 / 1.063 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/1.231, allocations: 0.5296 MB / 1.064 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.232, allocations: 345.7 kB / 1.064 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/1.232, allocations: 0.6848 MB / 1.065 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.13e-05/1.232, allocations: 0 / 1.065 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/1.232, allocations: 19.31 kB / 1.065 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/1.232, allocations: 0 / 1.065 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/1.266, allocations: 6.601 MB / 1.071 GB, free: 284 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004116/1.267, allocations: 282 kB / 1.071 GB, free: 15.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.975, allocations: 7.812 kB / 1.071 GB, free: 15.93 MB / 0.698 GB