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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.459/1.459, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.717/1.717, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001643/0.001643, allocations: 70.47 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3024, allocations: 114.6 MB / 0.7829 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003476/0.3059, allocations: 1.422 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3081, allocations: 1.117 MB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3081, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.3081, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.3082, allocations: 3.938 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.3089, allocations: 179.6 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.428e-05/0.309, allocations: 35.8 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.3091, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.3092, allocations: 15.94 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.3093, allocations: 19.91 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3093, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005987/0.3099, allocations: 419.5 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.3099, allocations: 11.94 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.31, allocations: 11.92 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.3103, allocations: 195.9 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3104, allocations: 4 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3104, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.3104, allocations: 0 / 0.7862 GB, free: 10.39 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.0005888/0.311, allocations: 383.3 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.311, allocations: 11.97 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.3111, allocations: 8.844 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3112, allocations: 164.3 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3113, allocations: 8.359 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3113, allocations: 384 / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3114, allocations: 42.02 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3114, allocations: 4 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3115, allocations: 3.938 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3115, allocations: 0 / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.257e-05/0.3115, allocations: 15.98 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.3118, allocations: 153.7 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3119, allocations: 46.58 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.3119, allocations: 16.86 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/0.3129, allocations: 0.9817 MB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3129, allocations: 42.5 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.935e-06/0.313, allocations: 3.984 kB / 0.7881 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002203/0.3132, allocations: 57.53 kB / 0.7881 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3132, allocations: 55.41 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3133, allocations: 105.8 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.3133, allocations: 25.7 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.3134, allocations: 88.12 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.3134, allocations: 15.75 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3135, allocations: 17.72 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3136, allocations: 318.8 kB / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.3136, allocations: 7.984 kB / 0.7887 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.3136, allocations: 4 kB / 0.7887 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.3137, allocations: 16.86 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3137, allocations: 4 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.301e-05/0.3138, allocations: 49.62 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3138, allocations: 11.94 kB / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3138, allocations: 0 / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3138, allocations: 4 kB / 0.7888 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.314, allocations: 19.98 kB / 0.7888 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.314, allocations: 0 / 0.7888 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.314, allocations: 0 / 0.7888 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.314, allocations: 4 kB / 0.7888 GB, free: 7.289 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 9.057e-05/0.3141, allocations: 105.8 kB / 0.7889 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.3141, allocations: 7.844 kB / 0.789 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.3143, allocations: 69.52 kB / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3143, allocations: 4 kB / 0.789 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3143, allocations: 0 / 0.789 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3143, allocations: 0 / 0.789 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3144, allocations: 165.5 kB / 0.7892 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3145, allocations: 0 / 0.7892 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.3145, allocations: 19.98 kB / 0.7892 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3145, allocations: 3.938 kB / 0.7892 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3146, allocations: 4 kB / 0.7892 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3146, allocations: 0 / 0.7892 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3146, allocations: 0 / 0.7892 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.822e-05/0.3147, allocations: 73.12 kB / 0.7893 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.3147, allocations: 88.95 kB / 0.7894 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3147, allocations: 4 kB / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.3148, allocations: 0 / 0.7894 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.3148, allocations: 12.34 kB / 0.7894 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3148, allocations: 0 / 0.7894 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.3148, allocations: 79.59 kB / 0.7895 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 0 / 0.7895 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002306/0.3151, allocations: 51.92 kB / 0.7895 GB, free: 6.504 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.0002479/0.3153, allocations: 151.2 kB / 0.7896 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.3154, allocations: 16 kB / 0.7897 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3155, allocations: 0 / 0.7897 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.3155, allocations: 20 kB / 0.7897 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3157, allocations: 8.234 kB / 0.7897 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3161, allocations: 160.2 kB / 0.7898 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3163, allocations: 0.6807 MB / 0.7905 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3164, allocations: 6.812 kB / 0.7905 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.3164, allocations: 7.438 kB / 0.7905 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3164, allocations: 0 / 0.7905 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.003497/0.3199, allocations: 1.143 MB / 0.7916 GB, free: 4.316 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)