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.001287/0.001287, allocations: 107 kB / 16.4 MB, free: 6.402 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.001243/0.001244, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7734/0.7734, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 64.48 kB / 0.5578 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1784, allocations: 76.18 MB / 0.6322 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002912/0.1813, allocations: 1.344 MB / 0.6335 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1836, allocations: 1.083 MB / 0.6345 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.1837, allocations: 3.938 kB / 0.6345 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.1838, allocations: 0 / 0.6345 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.1839, allocations: 7.938 kB / 0.6345 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.1846, allocations: 215.1 kB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.1848, allocations: 39.86 kB / 0.6348 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.1848, allocations: 0 / 0.6348 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.185, allocations: 23.84 kB / 0.6348 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.185, allocations: 19.92 kB / 0.6348 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1851, allocations: 4 kB / 0.6348 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006677/0.1857, allocations: 419.5 kB / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.1858, allocations: 0 / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.1858, allocations: 15.92 kB / 0.6352 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.1862, allocations: 195.6 kB / 0.6354 GB, free: 1.035 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1862, allocations: 0 / 0.6354 GB, free: 1.035 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1862, allocations: 0 / 0.6354 GB, free: 1.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1862, allocations: 0 / 0.6354 GB, free: 1.035 MB / 478.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.0006134/0.1868, allocations: 401.3 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1869, allocations: 8.031 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1869, allocations: 12.83 kB / 0.6358 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1871, allocations: 164.3 kB / 0.636 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1871, allocations: 4.375 kB / 0.636 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1871, allocations: 384 / 0.636 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1873, allocations: 42 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1873, allocations: 4 kB / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1873, allocations: 0 / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1873, allocations: 0 / 0.636 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.1874, allocations: 12 kB / 0.636 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.1876, allocations: 161.7 kB / 0.6362 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.1877, allocations: 42.55 kB / 0.6362 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.1877, allocations: 12.89 kB / 0.6362 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.1887, allocations: 0.9895 MB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1887, allocations: 38.5 kB / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1887, allocations: 0 / 0.6373 GB, free: 14.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.1889, allocations: 57.59 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.1889, allocations: 59.34 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.189, allocations: 109.8 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.189, allocations: 25.7 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1891, allocations: 84.14 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1891, allocations: 19.73 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1892, allocations: 17.72 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1893, allocations: 310.8 kB / 0.6379 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.1893, allocations: 8 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1893, allocations: 11.98 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.1894, allocations: 25.12 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1894, allocations: 0 / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.263e-05/0.1895, allocations: 57.56 kB / 0.638 GB, free: 13.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1895, allocations: 7.938 kB / 0.638 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1895, allocations: 7.938 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1895, allocations: 0 / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1896, allocations: 12 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1896, allocations: 3.984 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.1897, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1897, allocations: 4 kB / 0.638 GB, free: 13.91 MB / 494.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 6.436e-05/0.1898, allocations: 109.8 kB / 0.6381 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.1898, allocations: 11.84 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1899, allocations: 57.59 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1899, allocations: 0 / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1899, allocations: 3.938 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1899, allocations: 0 / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.19, allocations: 165.6 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1901, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.1901, allocations: 16 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1901, allocations: 3.938 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1902, allocations: 3.984 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1902, allocations: 0 / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1902, allocations: 4 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.1903, allocations: 73.12 kB / 0.6385 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.1903, allocations: 84.95 kB / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1903, allocations: 0 / 0.6386 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.1904, allocations: 4 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1904, allocations: 4 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1904, allocations: 4 kB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.1904, allocations: 91.2 kB / 0.6386 GB, free: 13.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1904, allocations: 0 / 0.6386 GB, free: 13.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1907, allocations: 39.94 kB / 0.6387 GB, free: 13.14 MB / 494.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.0002347/0.1909, allocations: 147.2 kB / 0.6388 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.191, allocations: 27.98 kB / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.191, allocations: 0 / 0.6389 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.1911, allocations: 8 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.1913, allocations: 15.48 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.1916, allocations: 148.2 kB / 0.639 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1918, allocations: 0.6846 MB / 0.6397 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.1919, allocations: 10.42 kB / 0.6397 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.1919, allocations: 11.44 kB / 0.6397 GB, free: 12.04 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1919, allocations: 0 / 0.6397 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Templates: time 0.003455/0.1954, allocations: 1.135 MB / 0.6408 GB, free: 10.95 MB / 494.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)