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.0007857/0.0007857, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.000832/0.0008323, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.655/1.655, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005122/0.0005124, allocations: 22.45 kB / 0.6738 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001647/0.2599, allocations: 1.076 MB / 0.7884 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2615, allocations: 1.028 MB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2616, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.2616, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.2617, allocations: 15.91 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.2622, allocations: 139.6 kB / 0.7896 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.2623, allocations: 27.86 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.2624, allocations: 4 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.2624, allocations: 15.92 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.2625, allocations: 19.92 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2625, allocations: 4 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.2631, allocations: 403.5 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.2631, allocations: 7.922 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.2631, allocations: 29.7 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.2634, allocations: 128 kB / 0.7902 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2634, allocations: 0 / 0.7902 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2634, allocations: 3.938 kB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2634, allocations: 0 / 0.7902 GB, free: 8.973 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.000429/0.2638, allocations: 383.2 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2639, allocations: 12.03 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.2639, allocations: 0 / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2641, allocations: 178.9 kB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2641, allocations: 3.984 kB / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.2641, allocations: 0 / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2642, allocations: 45.62 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2642, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2642, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2642, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.922e-05/0.2643, allocations: 16 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.2645, allocations: 169.6 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.73e-05/0.2646, allocations: 34.58 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.2646, allocations: 16.92 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008581/0.2655, allocations: 0.9817 MB / 0.7919 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2655, allocations: 34.5 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2655, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.2657, allocations: 53.69 kB / 0.792 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2657, allocations: 59.39 kB / 0.7921 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.2658, allocations: 101.9 kB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2658, allocations: 29.7 kB / 0.7922 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.2659, allocations: 88.12 kB / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2659, allocations: 11.81 kB / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.2659, allocations: 0 / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.266, allocations: 318.8 kB / 0.7926 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.2661, allocations: 11.98 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.2661, allocations: 7.938 kB / 0.7926 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.2661, allocations: 8 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2661, allocations: 0 / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.405e-05/0.2662, allocations: 53.59 kB / 0.7927 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2662, allocations: 4 kB / 0.7927 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2662, allocations: 0 / 0.7927 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.2662, allocations: 3.938 kB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2664, allocations: 16 kB / 0.7927 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2664, allocations: 0 / 0.7927 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.2664, allocations: 7.922 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2664, allocations: 4 kB / 0.7927 GB, free: 5.914 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 6.746e-05/0.2665, allocations: 113.8 kB / 0.7928 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.2665, allocations: 4 kB / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.2666, allocations: 61.86 kB / 0.7929 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2666, allocations: 7.969 kB / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2666, allocations: 0 / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2667, allocations: 0 / 0.7929 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.2668, allocations: 169.6 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2668, allocations: 0 / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.322e-05/0.2669, allocations: 16 kB / 0.7931 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2669, allocations: 4 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2669, allocations: 0 / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2669, allocations: 3.984 kB / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2669, allocations: 0 / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.267, allocations: 80.97 kB / 0.7932 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.267, allocations: 81.06 kB / 0.7932 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2671, allocations: 4 kB / 0.7932 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.135e-05/0.2671, allocations: 0 / 0.7932 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.2671, allocations: 8 kB / 0.7933 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2671, allocations: 0 / 0.7933 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.2672, allocations: 83.27 kB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2672, allocations: 0 / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002289/0.2674, allocations: 40 kB / 0.7934 GB, free: 5.141 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.0002548/0.2677, allocations: 151.1 kB / 0.7935 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.2678, allocations: 23.92 kB / 0.7935 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2678, allocations: 4 kB / 0.7935 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.2678, allocations: 8 kB / 0.7936 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.268, allocations: 11.98 kB / 0.7936 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.2683, allocations: 178.3 kB / 0.7937 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2686, allocations: 0.6848 MB / 0.7944 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.2686, allocations: 4 kB / 0.7944 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.2686, allocations: 11.44 kB / 0.7944 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2687, allocations: 0 / 0.7944 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of Templates: time 0.0036/0.2723, allocations: 1.079 MB / 0.7955 GB, free: 2.98 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: