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.441/1.441, allocations: 252 MB / 267 MB, free: 10.98 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.0009813/0.000981, allocations: 179 kB / 326.6 MB, free: 2.23 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.83/1.83, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.000823/0.000823, allocations: 95.12 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003595, allocations: 12.31 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 106.3 MB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001501/0.2484, allocations: 1.078 MB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2499, allocations: 1.034 MB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.25, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.25, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.2501, allocations: 7.922 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.2508, allocations: 155.6 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.2508, allocations: 27.86 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.2509, allocations: 3.938 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.251, allocations: 11.94 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.251, allocations: 15.92 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2511, allocations: 4 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.2515, allocations: 403.5 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.2516, allocations: 7.922 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2516, allocations: 29.7 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2518, allocations: 128 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2518, allocations: 4 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2518, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2518, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 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.0003785/0.2522, allocations: 383.2 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2523, allocations: 12.03 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.2523, allocations: 34.56 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.2523, allocations: 3.953 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.2524, allocations: 167.1 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2524, allocations: 0 / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2525, allocations: 4 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.2526, allocations: 45.62 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2526, allocations: 0 / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.2526, allocations: 0 / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2526, allocations: 3.984 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.2526, allocations: 8 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.2528, allocations: 173.6 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.2529, allocations: 38.58 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.2529, allocations: 24.92 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/0.2536, allocations: 0.9739 MB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2536, allocations: 42.48 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2537, allocations: 0 / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001495/0.2538, allocations: 53.61 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2538, allocations: 55.39 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.842e-05/0.2539, allocations: 101.9 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.2539, allocations: 25.7 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.2539, allocations: 92.12 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.254, allocations: 11.81 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.254, allocations: 0 / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.254, allocations: 322.8 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.2541, allocations: 7.984 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.2541, allocations: 7.938 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.2541, allocations: 8 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2541, allocations: 0 / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.563e-05/0.2542, allocations: 53.62 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2542, allocations: 7.938 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2542, allocations: 0 / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2542, allocations: 4 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2543, allocations: 12 kB / 0.9058 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2544, allocations: 3.984 kB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.2544, allocations: 0 / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-06/0.2544, allocations: 4 kB / 0.9058 GB, free: 58.15 MB / 0.6042 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 5.5e-05/0.2545, allocations: 113.8 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.2545, allocations: 7.906 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2546, allocations: 61.53 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2546, allocations: 4 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2546, allocations: 0 / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2546, allocations: 3.984 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.919e-05/0.2547, allocations: 161.6 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2547, allocations: 0 / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.2548, allocations: 12 kB / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2548, allocations: 0 / 0.9061 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2548, allocations: 4.359 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2548, allocations: 0 / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2548, allocations: 4 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.116e-05/0.2549, allocations: 89 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.2549, allocations: 84.95 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2549, allocations: 0 / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.255, allocations: 0 / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.255, allocations: 4 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.255, allocations: 0 / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.791e-05/0.255, allocations: 87.58 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.255, allocations: 0 / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002092/0.2553, allocations: 36 kB / 0.9064 GB, free: 57.38 MB / 0.6042 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.0003747/0.2556, allocations: 0.6709 MB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.2557, allocations: 15.98 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2557, allocations: 4 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.2558, allocations: 15.94 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.256, allocations: 11.92 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.2564, allocations: 220 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2565, allocations: 0.6809 MB / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.2566, allocations: 5.547 kB / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.2566, allocations: 15.44 kB / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2566, allocations: 0 / 0.908 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.2697, allocations: 1.979 MB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.27, allocations: 279.9 kB / 0.9102 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.027, allocations: 0 / 0.9102 GB, free: 53.57 MB / 0.6042 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)