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.001624/0.001624, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 190.9 kB / 16.62 MB, free: 6.582 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001648/0.001648, allocations: 65.38 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2265, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002496/0.2291, allocations: 1.369 MB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2306, allocations: 1.101 MB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.2306, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.2307, allocations: 4 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.691e-05/0.2307, allocations: 7.938 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.2313, allocations: 211.2 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.2314, allocations: 31.8 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.2315, allocations: 8.266 kB / 0.7864 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.2315, allocations: 8 kB / 0.7864 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.2316, allocations: 19.92 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2316, allocations: 0 / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.2321, allocations: 427.4 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2322, allocations: 7.922 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.2322, allocations: 11.94 kB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.2325, allocations: 191.6 kB / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2325, allocations: 0 / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2325, allocations: 0 / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.2325, allocations: 0 / 0.787 GB, free: 9.844 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.0004305/0.2329, allocations: 387.3 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.233, allocations: 12.03 kB / 0.7874 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.233, allocations: 34.75 kB / 0.7874 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.2331, allocations: 8.828 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.2332, allocations: 164.4 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2332, allocations: 384 / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2332, allocations: 384 / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.2333, allocations: 53.69 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2333, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.2333, allocations: 4 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2334, allocations: 0 / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.2334, allocations: 8 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2336, allocations: 169.5 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.2337, allocations: 42.56 kB / 0.7878 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.2337, allocations: 20.86 kB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008878/0.2346, allocations: 0.9856 MB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2346, allocations: 38.5 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.2346, allocations: 0 / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.2348, allocations: 57.69 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2349, allocations: 51.41 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.2349, allocations: 109.8 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.235, allocations: 25.7 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.235, allocations: 88.14 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.235, allocations: 11.75 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.2351, allocations: 17.72 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.2352, allocations: 314.8 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.2352, allocations: 15.94 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.2352, allocations: 4 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.2353, allocations: 24.84 kB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2353, allocations: 0 / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.928e-05/0.2354, allocations: 49.64 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2354, allocations: 4 kB / 0.7896 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2354, allocations: 3.984 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2354, allocations: 4 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2355, allocations: 8 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.2356, allocations: 11.94 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.2356, allocations: 0 / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2356, allocations: 0 / 0.7896 GB, free: 6.695 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 7.102e-05/0.2357, allocations: 113.8 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.2357, allocations: 11.83 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.2358, allocations: 57.59 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2358, allocations: 0 / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2358, allocations: 3.938 kB / 0.7898 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2358, allocations: 4 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.236, allocations: 161.7 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.236, allocations: 3.984 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.236, allocations: 15.94 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.236, allocations: 0 / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2361, allocations: 11.94 kB / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2361, allocations: 0 / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2361, allocations: 0 / 0.79 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.876e-05/0.2362, allocations: 73.5 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2362, allocations: 96.97 kB / 0.7901 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2362, allocations: 4 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.2363, allocations: 3.938 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.2363, allocations: 0 / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2363, allocations: 8 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.2363, allocations: 83.27 kB / 0.7902 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2364, allocations: 0 / 0.7902 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002223/0.2366, allocations: 43.94 kB / 0.7903 GB, free: 5.902 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.0004364/0.237, allocations: 0.6631 MB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.2371, allocations: 19.98 kB / 0.791 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.2371, allocations: 4 kB / 0.791 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.2372, allocations: 11.94 kB / 0.791 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2374, allocations: 4 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.2378, allocations: 205.8 kB / 0.7912 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2381, allocations: 0.6768 MB / 0.7918 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.2381, allocations: 7.094 kB / 0.7918 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.2381, allocations: 15.44 kB / 0.7918 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2381, allocations: 0 / 0.7918 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.2577, allocations: 2.189 MB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.867, allocations: 11.75 kB / 0.794 GB, free: 2.223 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)