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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.858/1.858, allocations: 289.7 MB / 302.3 MB, free: 2.137 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.001098/0.001098, allocations: 182.7 kB / 371.6 MB, free: 3.414 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.799/1.799, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009507/0.0009507, allocations: 95.55 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.527e-05, allocations: 8 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3133, allocations: 116.3 MB / 0.9799 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9957/1.309, allocations: 160.1 MB / 1.136 GB, free: 30.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/1.31, allocations: 117.2 kB / 1.136 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04698/1.357, allocations: 15.28 MB / 1.151 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/1.357, allocations: 0 / 1.151 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.357, allocations: 0.6562 kB / 1.151 GB, free: 22.39 MB / 0.7448 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.001418/1.358, allocations: 0.5538 MB / 1.152 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/1.358, allocations: 12.03 kB / 1.152 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/1.358, allocations: 107.6 kB / 1.152 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/1.358, allocations: 83.86 kB / 1.152 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/1.358, allocations: 247.1 kB / 1.152 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/1.358, allocations: 156 kB / 1.152 GB, free: 21.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/1.359, allocations: 151.4 kB / 1.153 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.738e-05/1.359, allocations: 101 kB / 1.153 GB, free: 20.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/1.359, allocations: 79.78 kB / 1.153 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/1.359, allocations: 154.6 kB / 1.153 GB, free: 20.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/1.359, allocations: 154.3 kB / 1.153 GB, free: 20.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/1.359, allocations: 150.6 kB / 1.153 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/1.359, allocations: 466.2 kB / 1.154 GB, free: 19.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/1.359, allocations: 173.1 kB / 1.154 GB, free: 19.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/1.359, allocations: 84.08 kB / 1.154 GB, free: 19.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.359, allocations: 79.78 kB / 1.154 GB, free: 19.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.359, allocations: 110.7 kB / 1.154 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.359, allocations: 0 / 1.154 GB, free: 19.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.482e-05/1.359, allocations: 35.02 kB / 1.154 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.359, allocations: 130.7 kB / 1.154 GB, free: 19.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.359, allocations: 122.8 kB / 1.154 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/1.359, allocations: 26.64 kB / 1.154 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/1.359, allocations: 93.34 kB / 1.155 GB, free: 19.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/1.359, allocations: 0 / 1.155 GB, free: 19.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.359, allocations: 0 / 1.155 GB, free: 19.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/1.36, allocations: 319.9 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/1.36, allocations: 7.938 kB / 1.155 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/1.36, allocations: 12.66 kB / 1.155 GB, free: 18.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/1.36, allocations: 4 kB / 1.155 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.36, allocations: 0 / 1.155 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/1.36, allocations: 53.84 kB / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.36, allocations: 6.391 kB / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/1.36, allocations: 4 kB / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.36, allocations: 0 / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/1.36, allocations: 0.5 kB / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.36, allocations: 0 / 1.155 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/1.36, allocations: 7.906 kB / 1.155 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.36, allocations: 1.375 kB / 1.155 GB, free: 18.65 MB / 0.7448 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 7.382e-05/1.36, allocations: 184.2 kB / 1.155 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/1.36, allocations: 112.2 kB / 1.155 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/1.36, allocations: 106.2 kB / 1.155 GB, free: 18.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/1.36, allocations: 192.3 kB / 1.155 GB, free: 18.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-05/1.36, allocations: 177.9 kB / 1.156 GB, free: 17.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.36, allocations: 180.3 kB / 1.156 GB, free: 17.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/1.36, allocations: 422.2 kB / 1.156 GB, free: 17.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.36, allocations: 101 kB / 1.156 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/1.36, allocations: 106.7 kB / 1.156 GB, free: 17.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.273e-05/1.36, allocations: 181 kB / 1.157 GB, free: 16.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/1.36, allocations: 180.3 kB / 1.157 GB, free: 16.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.129e-05/1.361, allocations: 181.7 kB / 1.157 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.292e-05/1.361, allocations: 179.9 kB / 1.157 GB, free: 16.29 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/1.361, allocations: 314.5 kB / 1.157 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/1.361, allocations: 189.9 kB / 1.158 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/1.361, allocations: 194.1 kB / 1.158 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/1.361, allocations: 101.9 kB / 1.158 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.361, allocations: 182.4 kB / 1.158 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/1.361, allocations: 101 kB / 1.158 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.069e-05/1.361, allocations: 103.1 kB / 1.158 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.361, allocations: 0 / 1.158 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001184/1.362, allocations: 324.2 kB / 1.159 GB, free: 14.78 MB / 0.7448 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.001565/1.364, allocations: 1.225 MB / 1.16 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.364, allocations: 45.2 kB / 1.16 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.364, allocations: 0 / 1.16 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/1.364, allocations: 4.062 kB / 1.16 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/1.364, allocations: 0.5245 MB / 1.16 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/1.365, allocations: 337.2 kB / 1.161 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/1.365, allocations: 0.6928 MB / 1.161 GB, free: 27.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.513e-05/1.365, allocations: 0 / 1.161 GB, free: 27.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/1.365, allocations: 19.31 kB / 1.161 GB, free: 27.97 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/1.365, allocations: 0 / 1.161 GB, free: 27.97 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/1.391, allocations: 6.599 MB / 1.168 GB, free: 22.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.391, allocations: 272.2 kB / 1.168 GB, free: 21.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/3.383, allocations: 0 / 1.168 GB, free: 21.91 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)