Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.765/2.765, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001664/0.001664, allocations: 176.8 kB / 360.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001024/0.001024, allocations: 90.95 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.503e-05, allocations: 4 kB / 0.8509 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8723, allocations: 115.3 MB / 0.9635 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/1.152, allocations: 141.6 MB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005254/1.153, allocations: 110.7 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03299/1.186, allocations: 5.852 MB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/1.186, allocations: 4.656 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.186, allocations: 0 / 1.108 GB, free: 9.051 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.0007221/1.187, allocations: 398.2 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/1.187, allocations: 8.031 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/1.187, allocations: 9.109 kB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/1.187, allocations: 175 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/1.187, allocations: 4 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.187, allocations: 3.156 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/1.188, allocations: 8 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/1.188, allocations: 33.69 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.188, allocations: 0 / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.188, allocations: 0 / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.188, allocations: 4 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/1.188, allocations: 142.1 kB / 1.108 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.188, allocations: 42.52 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/1.188, allocations: 13.08 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.19, allocations: 0.9869 MB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/1.19, allocations: 30.56 kB / 1.109 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 4.167e-06/1.19, allocations: 0 / 1.109 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003551/1.19, allocations: 53.58 kB / 1.109 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.19, allocations: 55.41 kB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/1.19, allocations: 96.98 kB / 1.11 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/1.19, allocations: 25.7 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/1.191, allocations: 92.08 kB / 1.11 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/1.191, allocations: 7.906 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/1.191, allocations: 0 / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.191, allocations: 318.8 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/1.191, allocations: 4 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/1.191, allocations: 4 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/1.191, allocations: 15.98 kB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.191, allocations: 0 / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000195/1.191, allocations: 55.7 kB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/1.191, allocations: 13.09 kB / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.191, allocations: 0 / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/1.191, allocations: 0 / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/1.192, allocations: 15.94 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/1.192, allocations: 3.984 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/1.192, allocations: 0 / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.192, allocations: 3.562 kB / 1.11 GB, free: 6.055 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 0.0001105/1.192, allocations: 112.7 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001838/1.192, allocations: 57.55 kB / 1.11 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/1.192, allocations: 4 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/1.192, allocations: 67.14 kB / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.192, allocations: 0 / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/1.192, allocations: 0 / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.192, allocations: 0 / 1.11 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.192, allocations: 134.2 kB / 1.11 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.192, allocations: 3.953 kB / 1.11 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/1.193, allocations: 19.92 kB / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.193, allocations: 0 / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.193, allocations: 0 / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.193, allocations: 0 / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.193, allocations: 8 kB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/1.193, allocations: 77.72 kB / 1.111 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/1.193, allocations: 96.17 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/1.193, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/1.193, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/1.193, allocations: 0 / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.193, allocations: 4 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.778e-05/1.193, allocations: 86.33 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.193, allocations: 0 / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004036/1.194, allocations: 51.92 kB / 1.111 GB, free: 5.258 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.0009739/1.195, allocations: 0.6672 MB / 1.111 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001486/1.195, allocations: 19.98 kB / 1.111 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.195, allocations: 4 kB / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/1.195, allocations: 12.08 kB / 1.111 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.195, allocations: 8 kB / 1.111 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/1.196, allocations: 126.4 kB / 1.112 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/1.196, allocations: 0.6808 MB / 1.112 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.033e-05/1.196, allocations: 4.969 kB / 1.112 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/1.196, allocations: 23.42 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/1.196, allocations: 0 / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/1.235, allocations: 1.519 MB / 1.114 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004855/1.236, allocations: 236.5 kB / 1.114 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.775, allocations: 0.75 kB / 1.114 GB, free: 1.879 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)