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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001265/0.001265, allocations: 183.3 kB / 377.1 MB, free: 1.527 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.783/1.783, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0009909/0.0009909, allocations: 91.02 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003259, allocations: 12 kB / 0.8749 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2808, allocations: 116.3 MB / 0.9885 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7985/1.079, allocations: 159.5 MB / 1.144 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.08, allocations: 121.3 kB / 1.144 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04185/1.122, allocations: 15.03 MB / 1.159 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/1.122, allocations: 0 / 1.159 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.122, allocations: 8 kB / 1.159 GB, free: 7.895 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008903/1.123, allocations: 0.5634 MB / 1.16 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.123, allocations: 12.03 kB / 1.16 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/1.123, allocations: 111.8 kB / 1.16 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/1.123, allocations: 75.28 kB / 1.16 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.123, allocations: 254.3 kB / 1.16 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/1.123, allocations: 151.4 kB / 1.16 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.123, allocations: 158.6 kB / 1.16 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.034e-05/1.123, allocations: 101.6 kB / 1.16 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.123, allocations: 75.28 kB / 1.16 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/1.123, allocations: 154.5 kB / 1.161 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/1.123, allocations: 150.6 kB / 1.161 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/1.123, allocations: 158.5 kB / 1.161 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/1.123, allocations: 463 kB / 1.161 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/1.123, allocations: 165.1 kB / 1.162 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/1.123, allocations: 84.03 kB / 1.162 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.123, allocations: 112.2 kB / 1.162 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/1.123, allocations: 0 / 1.162 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.432e-05/1.123, allocations: 37.55 kB / 1.162 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/1.124, allocations: 126.7 kB / 1.162 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/1.124, allocations: 124.2 kB / 1.162 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/1.124, allocations: 25.7 kB / 1.162 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/1.124, allocations: 88.14 kB / 1.162 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/1.124, allocations: 0.5625 kB / 1.162 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/1.124, allocations: 8 kB / 1.162 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/1.124, allocations: 318.8 kB / 1.162 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/1.124, allocations: 4 kB / 1.162 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/1.124, allocations: 8 kB / 1.162 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/1.124, allocations: 4 kB / 1.162 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.124, allocations: 0.5625 kB / 1.162 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/1.124, allocations: 54.09 kB / 1.162 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.124, allocations: 4 kB / 1.162 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.124, allocations: 4 kB / 1.162 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.124, allocations: 64 / 1.162 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/1.124, allocations: 4 kB / 1.162 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.124, allocations: 0.9375 kB / 1.162 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/1.124, allocations: 8.688 kB / 1.163 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/1.124, allocations: 0.7031 kB / 1.163 GB, free: 4.133 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 6.818e-05/1.124, allocations: 185.1 kB / 1.163 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/1.124, allocations: 108.9 kB / 1.163 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/1.124, allocations: 124.8 kB / 1.163 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/1.124, allocations: 180.3 kB / 1.163 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/1.124, allocations: 180.2 kB / 1.163 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/1.124, allocations: 176.3 kB / 1.163 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/1.125, allocations: 422.4 kB / 1.164 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/1.125, allocations: 105.9 kB / 1.164 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/1.125, allocations: 105 kB / 1.164 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.86e-05/1.125, allocations: 188.3 kB / 1.164 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/1.125, allocations: 176.3 kB / 1.164 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.147e-05/1.125, allocations: 180.2 kB / 1.165 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/1.125, allocations: 180.2 kB / 1.165 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/1.125, allocations: 315.7 kB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/1.125, allocations: 186 kB / 1.165 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/1.125, allocations: 185.5 kB / 1.165 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/1.125, allocations: 106 kB / 1.165 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/1.125, allocations: 176.9 kB / 1.166 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/1.125, allocations: 112.9 kB / 1.166 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.841e-05/1.125, allocations: 103.2 kB / 1.166 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.125, allocations: 0 / 1.166 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009362/1.126, allocations: 315.6 kB / 1.166 GB, free: 192 kB / 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.001321/1.127, allocations: 1.207 MB / 1.167 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/1.127, allocations: 42.67 kB / 1.167 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.127, allocations: 0 / 1.167 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/1.127, allocations: 4 kB / 1.167 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/1.128, allocations: 0.5303 MB / 1.168 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/1.129, allocations: 0.6001 MB / 1.168 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/1.129, allocations: 0.6887 MB / 1.169 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.464e-05/1.129, allocations: 0 / 1.169 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/1.129, allocations: 19.38 kB / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.129, allocations: 0 / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.148, allocations: 6.383 MB / 1.175 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.148, allocations: 309.9 kB / 1.176 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.983, allocations: 0 / 1.176 GB, free: 6.523 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)