Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001141/0.001141, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 291 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 90.67 kB / 0.5945 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1751, allocations: 86.98 MB / 0.6795 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002434/0.1776, allocations: 1.411 MB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1792, allocations: 1.13 MB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.045e-05/0.1792, allocations: 0.6562 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.1793, allocations: 7.938 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.1793, allocations: 9.516 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.1798, allocations: 145.4 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.1799, allocations: 31.86 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1799, allocations: 288 / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.18, allocations: 19.88 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.18, allocations: 15.91 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1801, allocations: 0.6562 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.1806, allocations: 428.4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1806, allocations: 3.984 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.1806, allocations: 19.88 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1809, allocations: 196.1 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1809, allocations: 0.9688 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1809, allocations: 0 / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.181, allocations: 0 / 0.6828 GB, free: 13.76 MB / 494.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.0004486/0.1814, allocations: 384.5 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1815, allocations: 16.03 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1815, allocations: 4.844 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1816, allocations: 168.3 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1816, allocations: 384 / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1816, allocations: 4.375 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.1817, allocations: 42 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1818, allocations: 0 / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1818, allocations: 0 / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1818, allocations: 0 / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.613e-05/0.1818, allocations: 15.98 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.182, allocations: 161.7 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.1821, allocations: 46.5 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.1821, allocations: 8.891 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009182/0.183, allocations: 0.9895 MB / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1831, allocations: 38.5 kB / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1831, allocations: 0 / 0.6846 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000173/0.1833, allocations: 69.66 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.1833, allocations: 59.33 kB / 0.6848 GB, free: 11.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.1834, allocations: 109.8 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1834, allocations: 25.7 kB / 0.6849 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.1834, allocations: 88.12 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1835, allocations: 11.84 kB / 0.685 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1835, allocations: 13.72 kB / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.1836, allocations: 318.8 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.1836, allocations: 4 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.1836, allocations: 4 kB / 0.6853 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.1837, allocations: 28.86 kB / 0.6853 GB, free: 10.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1837, allocations: 0 / 0.6853 GB, free: 10.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.627e-05/0.1838, allocations: 57.53 kB / 0.6854 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1838, allocations: 9.344 kB / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1838, allocations: 0 / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1838, allocations: 4 kB / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1839, allocations: 11.98 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.184, allocations: 4 kB / 0.6854 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.184, allocations: 0 / 0.6854 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.184, allocations: 0 / 0.6854 GB, free: 10.65 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.455e-05/0.1841, allocations: 114.5 kB / 0.6855 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.1841, allocations: 7.938 kB / 0.6855 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1842, allocations: 69.42 kB / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1842, allocations: 0 / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1842, allocations: 0 / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1842, allocations: 0 / 0.6856 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.1843, allocations: 157.7 kB / 0.6857 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1843, allocations: 0 / 0.6857 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.1844, allocations: 15.98 kB / 0.6858 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1844, allocations: 7.938 kB / 0.6858 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1844, allocations: 4 kB / 0.6858 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1844, allocations: 0 / 0.6858 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1845, allocations: 0 / 0.6858 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.1845, allocations: 73.12 kB / 0.6858 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.1846, allocations: 84.95 kB / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1846, allocations: 4 kB / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.1846, allocations: 0 / 0.6859 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.1847, allocations: 11.92 kB / 0.6859 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1847, allocations: 3.938 kB / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.1847, allocations: 95.56 kB / 0.686 GB, free: 9.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1847, allocations: 0 / 0.686 GB, free: 9.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1849, allocations: 43.92 kB / 0.6861 GB, free: 9.867 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.0002258/0.1852, allocations: 152 kB / 0.6862 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.1853, allocations: 15.94 kB / 0.6862 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1853, allocations: 0 / 0.6862 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.1853, allocations: 24.3 kB / 0.6863 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1855, allocations: 4 kB / 0.6863 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.1858, allocations: 162 kB / 0.6864 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.186, allocations: 0.6809 MB / 0.6871 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.1861, allocations: 9.625 kB / 0.6871 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1861, allocations: 11.44 kB / 0.6871 GB, free: 8.762 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1861, allocations: 0 / 0.6871 GB, free: 8.762 MB / 494.1 MB Notification: Performance of Templates: time 0.003135/0.1892, allocations: 1.121 MB / 0.6882 GB, free: 7.695 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)