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.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001161, allocations: 181.1 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009711/0.0009712, allocations: 107.9 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 10.41 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 106.3 MB / 0.9002 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.4861, allocations: 136 MB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/0.4865, allocations: 111.9 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.5091, allocations: 6.179 MB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5091, allocations: 0 / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.5091, allocations: 0 / 1.039 GB, free: 1.227 MB / 0.6823 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.0005342/0.5097, allocations: 407 kB / 1.04 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.5097, allocations: 12.03 kB / 1.04 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.5098, allocations: 30.56 kB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.5098, allocations: 7.844 kB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.51, allocations: 167 kB / 1.04 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.51, allocations: 8 kB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.51, allocations: 0 / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5102, allocations: 37.69 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5102, allocations: 0 / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.5102, allocations: 4 kB / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5102, allocations: 0 / 1.04 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.5103, allocations: 15.98 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.5105, allocations: 165.6 kB / 1.04 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.5106, allocations: 58.42 kB / 1.04 GB, free: 176 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.5116, allocations: 0.974 MB / 1.041 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5117, allocations: 38.62 kB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.5117, allocations: 0 / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.5119, allocations: 57.53 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.512, allocations: 63.39 kB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.5121, allocations: 101 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5121, allocations: 25.7 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.5121, allocations: 88.14 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.5122, allocations: 11.8 kB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5122, allocations: 4 kB / 1.041 GB, free: 14.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5123, allocations: 318.8 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.5124, allocations: 7.938 kB / 1.042 GB, free: 14.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.5124, allocations: 7.984 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.537e-05/0.5124, allocations: 11.95 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5125, allocations: 0 / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.973e-05/0.5126, allocations: 45.7 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5126, allocations: 7.984 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5126, allocations: 0 / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5126, allocations: 0 / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5128, allocations: 19.94 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.5128, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.5128, allocations: 0 / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5129, allocations: 4 kB / 1.042 GB, free: 14.12 MB / 0.698 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 (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.95e-05/0.5129, allocations: 117.8 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.513, allocations: 7.906 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5131, allocations: 57.59 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5131, allocations: 0 / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5132, allocations: 4 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5132, allocations: 0 / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5133, allocations: 161.7 kB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5133, allocations: 3.953 kB / 1.042 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.5134, allocations: 15.94 kB / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5134, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5135, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5135, allocations: 0 / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5135, allocations: 4 kB / 1.042 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.5136, allocations: 77.12 kB / 1.042 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.5137, allocations: 92.89 kB / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.5137, allocations: 0 / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.5137, allocations: 0 / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.5137, allocations: 4.422 kB / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.5138, allocations: 3.938 kB / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.5138, allocations: 87.27 kB / 1.042 GB, free: 13.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5138, allocations: 0 / 1.042 GB, free: 13.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000356/0.5142, allocations: 43.94 kB / 1.042 GB, free: 13.35 MB / 0.698 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 (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.0005934/0.5148, allocations: 0.6786 MB / 1.043 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.5149, allocations: 19.98 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5149, allocations: 0 / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.515, allocations: 15.94 kB / 1.043 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.5152, allocations: 8 kB / 1.043 GB, free: 12.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.5158, allocations: 228 kB / 1.043 GB, free: 12.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.5161, allocations: 0.6809 MB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.685e-05/0.5161, allocations: 9.266 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.5162, allocations: 11.44 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.5162, allocations: 3.938 kB / 1.044 GB, free: 11.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.5312, allocations: 1.885 MB / 1.046 GB, free: 9.957 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004205/0.5317, allocations: 280.6 kB / 1.046 GB, free: 9.602 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.177, allocations: 6 kB / 1.046 GB, free: 9.602 MB / 0.698 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)