Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009067/0.009067, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008826/0.0008827, allocations: 21.64 kB / 0.6745 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2434, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001289/0.2447, allocations: 1.087 MB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2463, allocations: 1.136 MB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.2463, allocations: 0 / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.2463, allocations: 0 / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.2464, allocations: 11.92 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.2468, allocations: 146.6 kB / 0.7904 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.2469, allocations: 39.72 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2469, allocations: 7.984 kB / 0.7904 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.247, allocations: 4 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.2471, allocations: 19.92 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.2471, allocations: 0 / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.2476, allocations: 423.5 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2476, allocations: 3.938 kB / 0.7908 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2477, allocations: 41.64 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.2479, allocations: 191.9 kB / 0.7911 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.248, allocations: 3.938 kB / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.066e-06/0.248, allocations: 0 / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.248, allocations: 3.938 kB / 0.7911 GB, free: 8.305 MB / 0.6075 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.0003597/0.2483, allocations: 383.4 kB / 0.7914 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2484, allocations: 12.03 kB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.2484, allocations: 30.75 kB / 0.7915 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.984e-05/0.2485, allocations: 8.844 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.2486, allocations: 168.4 kB / 0.7917 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2486, allocations: 4.375 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2486, allocations: 384 / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.2487, allocations: 45.75 kB / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2487, allocations: 0 / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2487, allocations: 0 / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2487, allocations: 0 / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.2488, allocations: 19.92 kB / 0.7917 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2489, allocations: 161.7 kB / 0.7919 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.249, allocations: 42.56 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.249, allocations: 8.891 kB / 0.7919 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008321/0.2499, allocations: 0.9856 MB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2499, allocations: 34.5 kB / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2499, allocations: 0 / 0.7929 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001545/0.2501, allocations: 65.53 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2501, allocations: 51.41 kB / 0.793 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.2502, allocations: 109.8 kB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2502, allocations: 25.7 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2502, allocations: 84.14 kB / 0.7932 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2503, allocations: 19.73 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.2503, allocations: 9.719 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.2504, allocations: 322.8 kB / 0.7936 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.2504, allocations: 4 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.2504, allocations: 4.188 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.2505, allocations: 28.92 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2505, allocations: 4 kB / 0.7936 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.289e-05/0.2506, allocations: 53.58 kB / 0.7937 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2506, allocations: 11.98 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2506, allocations: 0 / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.2506, allocations: 0 / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.2507, allocations: 12 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2508, allocations: 0 / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.2508, allocations: 0 / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.2508, allocations: 4 kB / 0.7937 GB, free: 5.172 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.2509, allocations: 114.5 kB / 0.7938 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.2509, allocations: 11.78 kB / 0.7938 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.251, allocations: 65.53 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.251, allocations: 4 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.251, allocations: 3.938 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.251, allocations: 0 / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2512, allocations: 161.7 kB / 0.794 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2512, allocations: 0 / 0.794 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.2512, allocations: 15.94 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2512, allocations: 4 kB / 0.7941 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2513, allocations: 4 kB / 0.7941 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2513, allocations: 0 / 0.7941 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2513, allocations: 0 / 0.7941 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.2514, allocations: 77.06 kB / 0.7941 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.2514, allocations: 92.94 kB / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2514, allocations: 0 / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.2515, allocations: 0 / 0.7942 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2515, allocations: 8 kB / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2515, allocations: 0 / 0.7942 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.2515, allocations: 87.27 kB / 0.7943 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2515, allocations: 0 / 0.7943 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002175/0.2518, allocations: 39.94 kB / 0.7943 GB, free: 4.387 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004378/0.2522, allocations: 0.6593 MB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.2523, allocations: 27.92 kB / 0.795 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2523, allocations: 0 / 0.795 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.2523, allocations: 8 kB / 0.795 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2525, allocations: 4 kB / 0.795 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.2529, allocations: 228.3 kB / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2531, allocations: 0.6809 MB / 0.7959 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2532, allocations: 14.7 kB / 0.7959 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.2532, allocations: 15.42 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2532, allocations: 0 / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01093/0.2641, allocations: 1.978 MB / 0.7979 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.2644, allocations: 297.6 kB / 0.7982 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.935, allocations: 0 / 0.7982 GB, free: 0.543 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)