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.001367/0.001368, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.002049/0.002049, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.841/1.841, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005638/0.0005638, allocations: 19.56 kB / 0.6739 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2815, allocations: 116.3 MB / 0.7875 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001439/0.283, allocations: 1.076 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2846, allocations: 1.036 MB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.2847, allocations: 0 / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2847, allocations: 4 kB / 0.7895 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.2847, allocations: 11.86 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.2852, allocations: 147.6 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.2852, allocations: 27.86 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.2853, allocations: 4 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.2854, allocations: 15.94 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.2854, allocations: 11.98 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.2854, allocations: 0 / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.2861, allocations: 407.4 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.2861, allocations: 4 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.2861, allocations: 29.7 kB / 0.7902 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.2863, allocations: 136 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2864, allocations: 0 / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2864, allocations: 0 / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2864, allocations: 0 / 0.7903 GB, free: 8.824 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.0004779/0.2869, allocations: 387.2 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2869, allocations: 8.031 kB / 0.7907 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.287, allocations: 34.55 kB / 0.7907 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.287, allocations: 7.906 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2871, allocations: 163 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2871, allocations: 0 / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2872, allocations: 4 kB / 0.7909 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2873, allocations: 37.69 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2873, allocations: 3.938 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2873, allocations: 4 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2873, allocations: 4 kB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.2874, allocations: 19.92 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.2875, allocations: 157.7 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.2876, allocations: 34.58 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.2877, allocations: 24.86 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009308/0.2886, allocations: 0.9817 MB / 0.7921 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2887, allocations: 34.56 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2887, allocations: 4 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000183/0.2889, allocations: 53.81 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2889, allocations: 59.41 kB / 0.7922 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.289, allocations: 105.8 kB / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.289, allocations: 25.7 kB / 0.7924 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.2891, allocations: 80.14 kB / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.2891, allocations: 15.75 kB / 0.7925 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2891, allocations: 4 kB / 0.7925 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2893, allocations: 318.8 kB / 0.7928 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.2893, allocations: 12 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.2893, allocations: 7.984 kB / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.2893, allocations: 4 kB / 0.7928 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2893, allocations: 0 / 0.7928 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.16e-05/0.2894, allocations: 57.53 kB / 0.7928 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2894, allocations: 6.812 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2895, allocations: 0 / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2895, allocations: 4 kB / 0.7928 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2896, allocations: 15.98 kB / 0.7929 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2896, allocations: 4 kB / 0.7929 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.2896, allocations: 4 kB / 0.7929 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.2896, allocations: 4 kB / 0.7929 GB, free: 5.723 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.666e-05/0.2897, allocations: 113.8 kB / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.2897, allocations: 0 / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.2899, allocations: 68.33 kB / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2899, allocations: 0 / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2899, allocations: 0 / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2899, allocations: 3.938 kB / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2901, allocations: 165.6 kB / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2901, allocations: 0 / 0.7932 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.2901, allocations: 19.98 kB / 0.7932 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2901, allocations: 0 / 0.7932 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2902, allocations: 4 kB / 0.7932 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2902, allocations: 0 / 0.7932 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2902, allocations: 0 / 0.7932 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2903, allocations: 73.03 kB / 0.7933 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2903, allocations: 85 kB / 0.7934 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2904, allocations: 8 kB / 0.7934 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.2904, allocations: 4 kB / 0.7934 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.2904, allocations: 0 / 0.7934 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2904, allocations: 7.922 kB / 0.7934 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.2905, allocations: 83.28 kB / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2905, allocations: 0 / 0.7935 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002316/0.2907, allocations: 47.92 kB / 0.7935 GB, free: 4.945 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 (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.0005296/0.2912, allocations: 0.667 MB / 0.7942 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.2913, allocations: 19.94 kB / 0.7942 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2914, allocations: 0 / 0.7942 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.2914, allocations: 11.98 kB / 0.7942 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2916, allocations: 10.84 kB / 0.7942 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.2921, allocations: 220.4 kB / 0.7944 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2923, allocations: 0.6809 MB / 0.7951 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.2924, allocations: 7.984 kB / 0.7951 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.2924, allocations: 11.44 kB / 0.7951 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2924, allocations: 4 kB / 0.7951 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.3064, allocations: 1.964 MB / 0.797 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000384/0.3068, allocations: 275.8 kB / 0.7973 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.118, allocations: 0 / 0.7973 GB, free: 1.148 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/linux/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) Environment - environmentSimulation: