Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008131/0.0008133, allocations: 98.89 kB / 16.02 MB, free: 80 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.0008732/0.0008733, allocations: 186 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7457/0.7457, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 12 kB / 495.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 77.54 MB / 0.56 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001903/0.1849, allocations: 1.063 MB / 0.5611 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1874, allocations: 1.107 MB / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.1874, allocations: 0 / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1875, allocations: 0 / 0.5621 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.1876, allocations: 11.91 kB / 0.5621 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.1884, allocations: 155 kB / 0.5623 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.1885, allocations: 35.8 kB / 0.5623 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.1886, allocations: 3.938 kB / 0.5623 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.1887, allocations: 12 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.1888, allocations: 11.92 kB / 0.5624 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1888, allocations: 4 kB / 0.5624 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008351/0.1897, allocations: 423.5 kB / 0.5628 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.1897, allocations: 15.94 kB / 0.5628 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1898, allocations: 33.64 kB / 0.5628 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.1902, allocations: 199.9 kB / 0.563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1903, allocations: 0 / 0.563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.1903, allocations: 0 / 0.563 GB, free: 5.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1903, allocations: 0 / 0.563 GB, free: 5.887 MB / 430.1 MB 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.0006374/0.1909, allocations: 383.4 kB / 0.5634 GB, free: 5.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.191, allocations: 8.031 kB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.191, allocations: 0.9375 kB / 0.5634 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1912, allocations: 176.2 kB / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1913, allocations: 4.375 kB / 0.5635 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1913, allocations: 8.359 kB / 0.5636 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1914, allocations: 42 kB / 0.5636 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1914, allocations: 0 / 0.5636 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1914, allocations: 0 / 0.5636 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1915, allocations: 0 / 0.5636 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.1915, allocations: 11.98 kB / 0.5636 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1917, allocations: 161.7 kB / 0.5638 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1919, allocations: 46.5 kB / 0.5638 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.1919, allocations: 16.89 kB / 0.5638 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.193, allocations: 0.9856 MB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.193, allocations: 38.5 kB / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.193, allocations: 0 / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.1932, allocations: 61.53 kB / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1933, allocations: 51.41 kB / 0.5649 GB, free: 3.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.1934, allocations: 106.1 kB / 0.565 GB, free: 3.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1934, allocations: 37.64 kB / 0.5651 GB, free: 3.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.1935, allocations: 84.14 kB / 0.5651 GB, free: 3.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1935, allocations: 7.891 kB / 0.5652 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1935, allocations: 17.72 kB / 0.5652 GB, free: 3.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1937, allocations: 310.8 kB / 0.5655 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.1937, allocations: 4 kB / 0.5655 GB, free: 2.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.1937, allocations: 11.98 kB / 0.5655 GB, free: 2.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.1938, allocations: 20.86 kB / 0.5655 GB, free: 2.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1938, allocations: 0 / 0.5655 GB, free: 2.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.561e-05/0.1939, allocations: 61.53 kB / 0.5656 GB, free: 2.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1939, allocations: 7.938 kB / 0.5656 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1939, allocations: 0 / 0.5656 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.194, allocations: 0 / 0.5656 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1941, allocations: 15.98 kB / 0.5656 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1941, allocations: 4.062 kB / 0.5656 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.1941, allocations: 3.938 kB / 0.5656 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1941, allocations: 8 kB / 0.5656 GB, free: 2.781 MB / 430.1 MB 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.696e-05/0.1942, allocations: 109.8 kB / 0.5657 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1943, allocations: 15.88 kB / 0.5657 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1944, allocations: 65.84 kB / 0.5658 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1944, allocations: 0 / 0.5658 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1944, allocations: 0 / 0.5658 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1944, allocations: 3.984 kB / 0.5658 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1946, allocations: 161.6 kB / 0.5659 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1946, allocations: 0 / 0.5659 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.1947, allocations: 12 kB / 0.566 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.1947, allocations: 7.922 kB / 0.566 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1947, allocations: 0 / 0.566 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1947, allocations: 4 kB / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1947, allocations: 0 / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.1948, allocations: 77.12 kB / 0.566 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.1949, allocations: 81.05 kB / 0.5661 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1949, allocations: 3.938 kB / 0.5661 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.1949, allocations: 0 / 0.5661 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.195, allocations: 4 kB / 0.5661 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.195, allocations: 0 / 0.5661 GB, free: 2.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.195, allocations: 91.27 kB / 0.5662 GB, free: 2.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.195, allocations: 0 / 0.5662 GB, free: 2.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1953, allocations: 40 kB / 0.5662 GB, free: 2.012 MB / 430.1 MB 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.0002705/0.1955, allocations: 155.1 kB / 0.5664 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.797e-05/0.1957, allocations: 15.98 kB / 0.5664 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1957, allocations: 0 / 0.5664 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.1957, allocations: 19.88 kB / 0.5664 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1959, allocations: 11.98 kB / 0.5664 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1963, allocations: 182.3 kB / 0.5666 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1966, allocations: 0.6809 MB / 0.5673 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.1966, allocations: 4 kB / 0.5673 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1967, allocations: 11.44 kB / 0.5673 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1967, allocations: 0 / 0.5673 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of Templates: time 0.004031/0.2007, allocations: 1.107 MB / 0.5684 GB, free: 15.82 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)