Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.001074/0.001074, allocations: 174.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000937/0.0009364, allocations: 105 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 9.562 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2719, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.4781, allocations: 153 MB / 1.05 GB, free: 6.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.4785, allocations: 119.9 kB / 1.05 GB, free: 6.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6041/1.083, allocations: 15.34 MB / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/1.083, allocations: 0 / 1.065 GB, free: 151 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.083, allocations: 0.8438 kB / 1.065 GB, free: 151 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.00127/1.084, allocations: 0.5643 MB / 1.065 GB, free: 150.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.084, allocations: 8.969 kB / 1.065 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/1.084, allocations: 115.1 kB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/1.084, allocations: 81.23 kB / 1.065 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.084, allocations: 249.8 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/1.084, allocations: 154.7 kB / 1.066 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/1.084, allocations: 151.4 kB / 1.066 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.524e-05/1.084, allocations: 101.8 kB / 1.066 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.084, allocations: 79.28 kB / 1.066 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/1.084, allocations: 151.5 kB / 1.066 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/1.084, allocations: 150.6 kB / 1.066 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/1.084, allocations: 153.5 kB / 1.067 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/1.085, allocations: 468.6 kB / 1.067 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/1.085, allocations: 177.2 kB / 1.067 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/1.085, allocations: 80.12 kB / 1.067 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.085, allocations: 106.6 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.085, allocations: 0 / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.535e-05/1.085, allocations: 34.61 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.085, allocations: 134.1 kB / 1.068 GB, free: 148.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.085, allocations: 120.2 kB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/1.085, allocations: 26.39 kB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/1.085, allocations: 93.3 kB / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/1.085, allocations: 0 / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/1.085, allocations: 0 / 1.068 GB, free: 147.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/1.085, allocations: 322.5 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/1.085, allocations: 7.188 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/1.085, allocations: 7.375 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.887e-05/1.085, allocations: 9.312 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.085, allocations: 0 / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/1.085, allocations: 53.8 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.085, allocations: 4.594 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/1.085, allocations: 6.281 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.085, allocations: 0 / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/1.085, allocations: 1.188 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.086, allocations: 0 / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/1.086, allocations: 4.938 kB / 1.068 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/1.086, allocations: 4.969 kB / 1.068 GB, free: 147.5 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.161e-05/1.086, allocations: 192 kB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/1.086, allocations: 112.2 kB / 1.068 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/1.086, allocations: 116.4 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/1.086, allocations: 180.9 kB / 1.069 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.878e-05/1.086, allocations: 177.8 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/1.086, allocations: 192.6 kB / 1.069 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/1.086, allocations: 415.1 kB / 1.069 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.086, allocations: 106.6 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/1.086, allocations: 101.7 kB / 1.07 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-05/1.086, allocations: 180.6 kB / 1.07 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/1.086, allocations: 185.1 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-05/1.086, allocations: 179.5 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-05/1.086, allocations: 181.8 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/1.086, allocations: 315.3 kB / 1.071 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/1.086, allocations: 189.9 kB / 1.071 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/1.086, allocations: 181.8 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/1.086, allocations: 113 kB / 1.071 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/1.086, allocations: 180.8 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/1.086, allocations: 101.8 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.231e-05/1.087, allocations: 98.02 kB / 1.071 GB, free: 144 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.087, allocations: 0 / 1.071 GB, free: 144 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001558/1.088, allocations: 331.2 kB / 1.072 GB, free: 143.9 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.001624/1.09, allocations: 1.205 MB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.09, allocations: 41.36 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.09, allocations: 4.062 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/1.09, allocations: 4.922 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.09, allocations: 0.5301 MB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/1.091, allocations: 0.601 MB / 1.074 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/1.091, allocations: 0.686 MB / 1.075 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.665e-05/1.091, allocations: 4.75 kB / 1.075 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/1.091, allocations: 20.53 kB / 1.075 GB, free: 141.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.091, allocations: 3.938 kB / 1.075 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/1.116, allocations: 6.575 MB / 1.081 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.116, allocations: 323.8 kB / 1.082 GB, free: 140.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/3.184, allocations: 0 / 1.082 GB, free: 140.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)