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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.706/1.706, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001392/0.001393, allocations: 180.8 kB / 366.7 MB, free: 1.68 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.748/1.748, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0009149/0.0009151, allocations: 83.59 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.829e-05, allocations: 4 kB / 0.8598 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7971, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/1.025, allocations: 142.6 MB / 1.113 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/1.025, allocations: 111.9 kB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01914/1.044, allocations: 6.151 MB / 1.119 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/1.044, allocations: 0 / 1.119 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/1.044, allocations: 0 / 1.119 GB, free: 1.293 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005524/1.045, allocations: 391.3 kB / 1.119 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.045, allocations: 8.031 kB / 1.119 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/1.045, allocations: 7.906 kB / 1.119 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/1.045, allocations: 176.8 kB / 1.119 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.045, allocations: 0 / 1.119 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.045, allocations: 4 kB / 1.119 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.044e-05/1.045, allocations: 8 kB / 1.119 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/1.046, allocations: 41.69 kB / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.046, allocations: 0 / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.046, allocations: 0 / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.046, allocations: 0 / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/1.046, allocations: 138.3 kB / 1.119 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.686e-05/1.046, allocations: 42.5 kB / 1.12 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.153e-05/1.046, allocations: 12.42 kB / 1.12 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.047, allocations: 0.9857 MB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.047, allocations: 32.44 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.047, allocations: 0 / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001915/1.047, allocations: 57.59 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/1.047, allocations: 51.41 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/1.047, allocations: 102.9 kB / 1.121 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/1.047, allocations: 25.7 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/1.048, allocations: 80.14 kB / 1.121 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/1.048, allocations: 15.84 kB / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/1.048, allocations: 0 / 1.121 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.048, allocations: 315.5 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/1.048, allocations: 11.94 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/1.048, allocations: 8 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/1.048, allocations: 8 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/1.048, allocations: 3.938 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001231/1.048, allocations: 61.53 kB / 1.121 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.048, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.048, allocations: 0 / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/1.048, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.048, allocations: 12.19 kB / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/1.048, allocations: 0 / 1.121 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/1.048, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/1.048, allocations: 0 / 1.121 GB, free: 14.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 9.285e-05/1.048, allocations: 105 kB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000128/1.048, allocations: 65.47 kB / 1.121 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/1.048, allocations: 0 / 1.121 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/1.049, allocations: 67 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.049, allocations: 0 / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.049, allocations: 0 / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.049, allocations: 0 / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/1.049, allocations: 142.2 kB / 1.122 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.049, allocations: 1.938 kB / 1.122 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/1.049, allocations: 15.98 kB / 1.122 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.049, allocations: 3.953 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/1.049, allocations: 3.938 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.049, allocations: 0 / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.049, allocations: 0 / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/1.049, allocations: 80.78 kB / 1.122 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/1.049, allocations: 81.11 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/1.049, allocations: 3.953 kB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/1.049, allocations: 7.984 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/1.049, allocations: 0 / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.049, allocations: 0 / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.812e-05/1.049, allocations: 87.28 kB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.71e-07/1.049, allocations: 0 / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002769/1.05, allocations: 43.92 kB / 1.122 GB, free: 13.52 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000697/1.05, allocations: 0.6747 MB / 1.123 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001031/1.051, allocations: 16 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.051, allocations: 0 / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/1.051, allocations: 12 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.051, allocations: 19.31 kB / 1.123 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/1.051, allocations: 126.2 kB / 1.123 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/1.052, allocations: 0.6807 MB / 1.123 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.602e-05/1.052, allocations: 1.781 kB / 1.123 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/1.052, allocations: 15.44 kB / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.052, allocations: 0 / 1.123 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/1.075, allocations: 1.537 MB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/1.076, allocations: 237.1 kB / 1.125 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.751, allocations: 0 / 1.125 GB, free: 10.12 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)