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.001562/0.001562, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001824/0.001824, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 286.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9536/0.9536, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 95.39 kB / 0.596 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1908, allocations: 86.98 MB / 0.6809 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002376/0.1932, allocations: 1.361 MB / 0.6822 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1948, allocations: 1.072 MB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1948, allocations: 0 / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1948, allocations: 3.938 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.1949, allocations: 7.938 kB / 0.6833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.1955, allocations: 218.5 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.1956, allocations: 31.84 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1956, allocations: 7.938 kB / 0.6835 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.1957, allocations: 15.92 kB / 0.6835 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.1957, allocations: 11.94 kB / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1958, allocations: 0 / 0.6836 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.1963, allocations: 435.4 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.1964, allocations: 4 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1964, allocations: 15.88 kB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.1967, allocations: 191.7 kB / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1967, allocations: 0 / 0.6842 GB, free: 4.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1967, allocations: 4 kB / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1967, allocations: 0 / 0.6842 GB, free: 4.742 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.0004495/0.1972, allocations: 383.3 kB / 0.6845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1972, allocations: 12.03 kB / 0.6846 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1973, allocations: 4.938 kB / 0.6846 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1974, allocations: 172.3 kB / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1974, allocations: 384 / 0.6847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1974, allocations: 4.312 kB / 0.6847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1975, allocations: 45.95 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1975, allocations: 0 / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1975, allocations: 3.984 kB / 0.6848 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1976, allocations: 0 / 0.6848 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.1976, allocations: 8 kB / 0.6848 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1978, allocations: 169.7 kB / 0.6849 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.1979, allocations: 42.59 kB / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.1979, allocations: 16.89 kB / 0.685 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/0.1988, allocations: 0.9894 MB / 0.686 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.1989, allocations: 38.5 kB / 0.686 GB, free: 2.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1989, allocations: 0 / 0.686 GB, free: 2.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001636/0.199, allocations: 57.59 kB / 0.6861 GB, free: 2.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.1991, allocations: 51.41 kB / 0.6861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.1991, allocations: 109.8 kB / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1992, allocations: 29.7 kB / 0.6862 GB, free: 2.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1992, allocations: 92.06 kB / 0.6863 GB, free: 2.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1992, allocations: 7.844 kB / 0.6863 GB, free: 2.109 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1993, allocations: 17.72 kB / 0.6864 GB, free: 2.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.1994, allocations: 318.8 kB / 0.6867 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.1994, allocations: 8 kB / 0.6867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.1994, allocations: 7.938 kB / 0.6867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.1995, allocations: 24.84 kB / 0.6867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1995, allocations: 0 / 0.6867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.507e-05/0.1996, allocations: 49.61 kB / 0.6867 GB, free: 1.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1996, allocations: 11.94 kB / 0.6868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1996, allocations: 0 / 0.6868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1996, allocations: 0 / 0.6868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1997, allocations: 15.98 kB / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1997, allocations: 0 / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.1998, allocations: 0 / 0.6868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1998, allocations: 3.938 kB / 0.6868 GB, free: 1.637 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 7.159e-05/0.1998, allocations: 117.8 kB / 0.6869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1999, allocations: 3.938 kB / 0.6869 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2, allocations: 61.58 kB / 0.6869 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2, allocations: 4 kB / 0.687 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2, allocations: 0 / 0.687 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2, allocations: 0 / 0.687 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2001, allocations: 161.6 kB / 0.6871 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2001, allocations: 0 / 0.6871 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.2002, allocations: 15.98 kB / 0.6871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2002, allocations: 3.938 kB / 0.6871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2002, allocations: 7.938 kB / 0.6871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2002, allocations: 3.938 kB / 0.6871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2002, allocations: 0 / 0.6871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.2003, allocations: 73.5 kB / 0.6872 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.2004, allocations: 85.09 kB / 0.6873 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2004, allocations: 7.969 kB / 0.6873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.2004, allocations: 0 / 0.6873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.2005, allocations: 8 kB / 0.6873 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.2005, allocations: 8 kB / 0.6873 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.2005, allocations: 79.28 kB / 0.6874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2005, allocations: 3.938 kB / 0.6874 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.2007, allocations: 47.92 kB / 0.6874 GB, free: 0.8516 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.0002342/0.201, allocations: 151.2 kB / 0.6876 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.2011, allocations: 23.92 kB / 0.6876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2011, allocations: 4 kB / 0.6876 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.2011, allocations: 12 kB / 0.6876 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2013, allocations: 4.547 kB / 0.6876 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.2017, allocations: 189.9 kB / 0.6878 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2976/0.4993, allocations: 0.6774 MB / 0.6885 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.4994, allocations: 10.92 kB / 0.6885 GB, free: 17.77 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4994, allocations: 0 / 0.6885 GB, free: 17.77 MB / 494.1 MB Notification: Performance of Templates: time 0.003276/0.5027, allocations: 1.038 MB / 0.6895 GB, free: 17.76 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)