Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 181 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 0.6366 GB, free: 8.629 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 93.86 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 116.3 MB / 0.9885 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8242/1.122, allocations: 151.2 MB / 1.136 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/1.122, allocations: 118.1 kB / 1.136 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02531/1.148, allocations: 8.419 MB / 1.145 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.963e-06/1.148, allocations: 0 / 1.145 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.298e-05/1.148, allocations: 4 kB / 1.145 GB, free: 22.02 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008425/1.149, allocations: 0.6015 MB / 1.145 GB, free: 21.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.149, allocations: 16.02 kB / 1.145 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/1.149, allocations: 41.42 kB / 1.145 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/1.149, allocations: 22.28 kB / 1.145 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/1.149, allocations: 217 kB / 1.145 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.149, allocations: 3.438 kB / 1.145 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.149, allocations: 8 kB / 1.145 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.149, allocations: 101.6 kB / 1.145 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.149, allocations: 0 / 1.145 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.149, allocations: 4.5 kB / 1.146 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.149, allocations: 0 / 1.146 GB, free: 20.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/1.149, allocations: 78.36 kB / 1.146 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/1.15, allocations: 269.5 kB / 1.146 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/1.15, allocations: 128.9 kB / 1.146 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.15, allocations: 5.391 kB / 1.146 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/1.15, allocations: 37.66 kB / 1.146 GB, free: 20.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.092e-06/1.15, allocations: 4 kB / 1.146 GB, free: 20.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.000478/1.15, allocations: 432.6 kB / 1.146 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/1.15, allocations: 52.67 kB / 1.146 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/1.151, allocations: 231.4 kB / 1.147 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/1.151, allocations: 26.36 kB / 1.147 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/1.151, allocations: 128.7 kB / 1.147 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/1.151, allocations: 101.3 kB / 1.147 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/1.151, allocations: 0 / 1.147 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/1.151, allocations: 351.4 kB / 1.147 GB, free: 19.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/1.151, allocations: 72.95 kB / 1.147 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/1.151, allocations: 79.69 kB / 1.147 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/1.151, allocations: 106.6 kB / 1.148 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.151, allocations: 0 / 1.148 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002198/1.151, allocations: 220 kB / 1.148 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.151, allocations: 8 kB / 1.148 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.151, allocations: 1.688 kB / 1.148 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.151, allocations: 0 / 1.148 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/1.151, allocations: 0.5625 kB / 1.148 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.151, allocations: 8.062 kB / 1.148 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/1.151, allocations: 12.75 kB / 1.148 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/1.151, allocations: 6.359 kB / 1.148 GB, free: 18.73 MB / 0.7292 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 0.000121/1.152, allocations: 168.5 kB / 1.148 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/1.152, allocations: 21.59 kB / 1.148 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/1.152, allocations: 0.5733 MB / 1.148 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/1.152, allocations: 180.3 kB / 1.149 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/1.152, allocations: 181.8 kB / 1.149 GB, free: 17.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/1.152, allocations: 176.3 kB / 1.149 GB, free: 17.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/1.153, allocations: 0.5494 MB / 1.15 GB, free: 16.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.153, allocations: 105.7 kB / 1.15 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/1.153, allocations: 111.6 kB / 1.15 GB, free: 16.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-05/1.153, allocations: 176.9 kB / 1.15 GB, free: 16.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.153, allocations: 180.3 kB / 1.15 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.451e-05/1.153, allocations: 189.5 kB / 1.15 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.862e-05/1.153, allocations: 181.8 kB / 1.15 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/1.153, allocations: 324.7 kB / 1.151 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/1.153, allocations: 365.3 kB / 1.151 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.154, allocations: 181.5 kB / 1.151 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.154, allocations: 106.6 kB / 1.151 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/1.154, allocations: 180.2 kB / 1.152 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/1.154, allocations: 106.7 kB / 1.152 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001143/1.155, allocations: 1.141 MB / 1.153 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.155, allocations: 0 / 1.153 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001023/1.156, allocations: 306.7 kB / 1.153 GB, free: 13.35 MB / 0.7292 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.0009951/1.157, allocations: 1.094 MB / 1.154 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001924/1.157, allocations: 181.3 kB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.157, allocations: 0 / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/1.157, allocations: 1.031 kB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/1.157, allocations: 0.5356 MB / 1.155 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/1.159, allocations: 1.626 MB / 1.156 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/1.159, allocations: 0.7597 MB / 1.157 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.697e-05/1.159, allocations: 7.984 kB / 1.157 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/1.159, allocations: 59.48 kB / 1.157 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.16, allocations: 0 / 1.157 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/1.178, allocations: 7.359 MB / 1.164 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/1.178, allocations: 271.1 kB / 1.165 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.513, allocations: 0 / 1.165 GB, free: 1.715 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)