Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001052/0.001052, allocations: 172.9 kB / 361.4 MB, free: 6.84 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.674/1.674, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000894/0.0008943, allocations: 88.05 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.238e-05, allocations: 8 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8002, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/1.025, allocations: 141.6 MB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/1.025, allocations: 107.9 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01833/1.044, allocations: 6.135 MB / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/1.044, allocations: 0 / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.044, allocations: 0 / 1.109 GB, free: 7.941 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.0005603/1.044, allocations: 398.2 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.044, allocations: 14.94 kB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/1.044, allocations: 4.938 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/1.045, allocations: 169.3 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.045, allocations: 0 / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/1.045, allocations: 4 kB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.824e-05/1.045, allocations: 12 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/1.045, allocations: 37.69 kB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.045, allocations: 0 / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.045, allocations: 0 / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.045, allocations: 0 / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/1.045, allocations: 134.2 kB / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.045, allocations: 50.48 kB / 1.11 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/1.045, allocations: 20.89 kB / 1.11 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.046, allocations: 0.974 MB / 1.111 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.046, allocations: 38.55 kB / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.046, allocations: 0 / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002392/1.047, allocations: 49.59 kB / 1.111 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.047, allocations: 59.41 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/1.047, allocations: 92.94 kB / 1.111 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/1.047, allocations: 25.7 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/1.047, allocations: 88.14 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/1.047, allocations: 11.83 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.047, allocations: 4 kB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.047, allocations: 315.5 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/1.047, allocations: 4 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/1.047, allocations: 4 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/1.047, allocations: 15.98 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.047, allocations: 0 / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/1.047, allocations: 57.53 kB / 1.111 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.047, allocations: 7.953 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.047, allocations: 0 / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.047, allocations: 1.969 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.048, allocations: 21.23 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.048, allocations: 0 / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/1.048, allocations: 0 / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/1.048, allocations: 4 kB / 1.111 GB, free: 4.945 MB / 0.7136 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 8.512e-05/1.048, allocations: 104.9 kB / 1.112 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001081/1.048, allocations: 53.59 kB / 1.112 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/1.048, allocations: 7.953 kB / 1.112 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.048, allocations: 63 kB / 1.112 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.048, allocations: 4 kB / 1.112 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.048, allocations: 4 kB / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.048, allocations: 0 / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/1.048, allocations: 136.6 kB / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.048, allocations: 0 / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/1.048, allocations: 15.98 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.048, allocations: 3.953 kB / 1.112 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.048, allocations: 4 kB / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/1.048, allocations: 0 / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/1.048, allocations: 0 / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/1.049, allocations: 85.3 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/1.049, allocations: 81.11 kB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.049, allocations: 5.359 kB / 1.112 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/1.049, allocations: 0 / 1.112 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/1.049, allocations: 4.031 kB / 1.112 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/1.049, allocations: 4 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.836e-05/1.049, allocations: 83.27 kB / 1.112 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.049, allocations: 0 / 1.112 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002636/1.049, allocations: 47.94 kB / 1.112 GB, free: 4.16 MB / 0.7136 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.0006338/1.05, allocations: 0.6784 MB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.979e-05/1.05, allocations: 16 kB / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.05, allocations: 0 / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/1.05, allocations: 11.94 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/1.05, allocations: 14.48 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/1.05, allocations: 125.2 kB / 1.113 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.051, allocations: 0.6888 MB / 1.114 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.121e-05/1.051, allocations: 6.109 kB / 1.114 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/1.051, allocations: 15.44 kB / 1.114 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/1.051, allocations: 0 / 1.114 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/1.074, allocations: 1.523 MB / 1.115 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/1.075, allocations: 249.5 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.716, allocations: 3.938 kB / 1.115 GB, free: 0.7734 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)