Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009858/0.0009856, allocations: 192.7 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009399/0.0009398, allocations: 92.62 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.091e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 106.4 MB / 0.8854 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7186/0.9312, allocations: 136.2 MB / 1.018 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.9315, allocations: 110.7 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.9493, allocations: 6.132 MB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9493, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.9494, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.6511 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.0004284/0.9498, allocations: 392.4 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.9499, allocations: 12.02 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.9499, allocations: 7.906 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.9501, allocations: 167 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.9501, allocations: 7.938 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.9501, allocations: 0 / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.989e-05/0.9502, allocations: 11.94 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.9502, allocations: 37 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9503, allocations: 7.938 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.9503, allocations: 0 / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9503, allocations: 0 / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.9505, allocations: 137.4 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.9506, allocations: 42.34 kB / 1.025 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.9506, allocations: 11.27 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009031/0.9515, allocations: 0.9773 MB / 1.026 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.9515, allocations: 34.56 kB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.9516, allocations: 0 / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0002131/0.9518, allocations: 61.09 kB / 1.026 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.9518, allocations: 51.41 kB / 1.026 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.9519, allocations: 96.12 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.9519, allocations: 25.7 kB / 1.027 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.952, allocations: 83.08 kB / 1.027 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.952, allocations: 23.73 kB / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.952, allocations: 0 / 1.027 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9522, allocations: 314.4 kB / 1.027 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.9522, allocations: 4 kB / 1.027 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.9522, allocations: 6.438 kB / 1.027 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.9523, allocations: 11.98 kB / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9523, allocations: 0 / 1.027 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.768e-05/0.9524, allocations: 56.42 kB / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9524, allocations: 9.875 kB / 1.027 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9524, allocations: 0 / 1.027 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9524, allocations: 4 kB / 1.027 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.9525, allocations: 19.92 kB / 1.027 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9526, allocations: 0 / 1.027 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.9526, allocations: 0 / 1.027 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.9526, allocations: 0 / 1.027 GB, free: 9.23 MB / 0.6511 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 7.805e-05/0.9527, allocations: 105 kB / 1.027 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.484e-05/0.9528, allocations: 52.2 kB / 1.027 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.9528, allocations: 11.84 kB / 1.027 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.953, allocations: 72.2 kB / 1.027 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.953, allocations: 0 / 1.027 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.953, allocations: 4 kB / 1.027 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.953, allocations: 0 / 1.027 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.9531, allocations: 141.8 kB / 1.027 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.9531, allocations: 3.953 kB / 1.027 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-05/0.9532, allocations: 15.98 kB / 1.027 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9532, allocations: 0 / 1.027 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.9532, allocations: 3.938 kB / 1.027 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9532, allocations: 4 kB / 1.027 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.9532, allocations: 0 / 1.027 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.9534, allocations: 76.55 kB / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.9534, allocations: 88.97 kB / 1.028 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.9534, allocations: 0 / 1.028 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.9535, allocations: 0 / 1.028 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.9535, allocations: 0 / 1.028 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.9535, allocations: 7.812 kB / 1.028 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.9536, allocations: 83.22 kB / 1.028 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9536, allocations: 0 / 1.028 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002343/0.9538, allocations: 51.92 kB / 1.028 GB, free: 8.445 MB / 0.6511 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.0005469/0.9544, allocations: 0.6663 MB / 1.028 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.9545, allocations: 23.48 kB / 1.028 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9545, allocations: 0 / 1.028 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.9545, allocations: 16.08 kB / 1.028 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.9546, allocations: 4.125 kB / 1.028 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.955, allocations: 117.3 kB / 1.029 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.9553, allocations: 0.6808 MB / 1.029 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.9553, allocations: 15.91 kB / 1.029 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.9553, allocations: 7.438 kB / 1.029 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/0.9553, allocations: 0 / 1.029 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.9745, allocations: 1.536 MB / 1.031 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.9748, allocations: 241.1 kB / 1.031 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.472, allocations: 2.641 kB / 1.031 GB, free: 5.078 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)