Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001004/0.001004, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0008902/0.0008904, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.066/1.066, allocations: 143.3 MB / 434.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004778, allocations: 12 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 83.42 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001585/0.1959, allocations: 1.052 MB / 0.5984 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1976, allocations: 0.9872 MB / 0.5993 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.1976, allocations: 0 / 0.5993 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.1977, allocations: 3.984 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.1977, allocations: 11.92 kB / 0.5994 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.1984, allocations: 139.5 kB / 0.5995 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.1984, allocations: 23.95 kB / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.1985, allocations: 8 kB / 0.5995 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.1986, allocations: 11.94 kB / 0.5995 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1986, allocations: 15.92 kB / 0.5995 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.1987, allocations: 0 / 0.5995 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.1993, allocations: 407.4 kB / 0.5999 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1993, allocations: 0 / 0.5999 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1994, allocations: 33.64 kB / 0.6 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1996, allocations: 136 kB / 0.6001 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1996, allocations: 0 / 0.6001 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1996, allocations: 0 / 0.6001 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1996, allocations: 4 kB / 0.6001 GB, free: 4.871 MB / 0.4981 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.000472/0.2001, allocations: 379.2 kB / 0.6005 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2002, allocations: 12.03 kB / 0.6005 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2002, allocations: 7.859 kB / 0.6005 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2004, allocations: 171 kB / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2004, allocations: 0 / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2004, allocations: 0 / 0.6006 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2005, allocations: 41.69 kB / 0.6007 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2006, allocations: 4 kB / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2006, allocations: 0 / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2006, allocations: 0 / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.2006, allocations: 19.92 kB / 0.6007 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.2008, allocations: 161.7 kB / 0.6009 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.201, allocations: 46.44 kB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/0.2019, allocations: 0.9857 MB / 0.6019 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2019, allocations: 30.56 kB / 0.6019 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.202, allocations: 0 / 0.6019 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002/0.2022, allocations: 65.62 kB / 0.602 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2022, allocations: 51.41 kB / 0.602 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.2023, allocations: 105.8 kB / 0.6021 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2023, allocations: 25.7 kB / 0.6021 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.2023, allocations: 88.14 kB / 0.6022 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2024, allocations: 7.812 kB / 0.6022 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2024, allocations: 0 / 0.6022 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.2025, allocations: 326.8 kB / 0.6025 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.2025, allocations: 4 kB / 0.6025 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.2025, allocations: 8 kB / 0.6026 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.2026, allocations: 8 kB / 0.6026 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2026, allocations: 0 / 0.6026 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.026e-05/0.2027, allocations: 61.53 kB / 0.6026 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2027, allocations: 4 kB / 0.6026 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2027, allocations: 0 / 0.6026 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2027, allocations: 0 / 0.6026 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2028, allocations: 15.98 kB / 0.6026 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2029, allocations: 0 / 0.6026 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.2029, allocations: 7.938 kB / 0.6026 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2029, allocations: 4 kB / 0.6026 GB, free: 1.828 MB / 0.4981 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 7.158e-05/0.203, allocations: 113.8 kB / 0.6028 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.203, allocations: 4 kB / 0.6028 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2031, allocations: 65.84 kB / 0.6028 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2031, allocations: 4.031 kB / 0.6028 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2032, allocations: 0 / 0.6028 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.2032, allocations: 0 / 0.6028 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.2033, allocations: 161.6 kB / 0.603 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2033, allocations: 4 kB / 0.603 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.2034, allocations: 15.98 kB / 0.603 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2034, allocations: 0 / 0.603 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2034, allocations: 0 / 0.603 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2034, allocations: 3.938 kB / 0.603 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2034, allocations: 0 / 0.603 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.2035, allocations: 85.02 kB / 0.6031 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.2036, allocations: 77.11 kB / 0.6032 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2036, allocations: 4 kB / 0.6032 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.2036, allocations: 0 / 0.6032 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.2036, allocations: 11.92 kB / 0.6032 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2037, allocations: 3.938 kB / 0.6032 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.024e-05/0.2037, allocations: 87.27 kB / 0.6033 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2037, allocations: 0 / 0.6033 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.204, allocations: 43.98 kB / 0.6033 GB, free: 1.047 MB / 0.4981 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.0002428/0.2042, allocations: 151.2 kB / 0.6034 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.2043, allocations: 20 kB / 0.6035 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2043, allocations: 0 / 0.6035 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.2044, allocations: 19.92 kB / 0.6035 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.2045, allocations: 0 / 0.6035 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.2049, allocations: 174.4 kB / 0.6037 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.269/0.4739, allocations: 0.6815 MB / 0.6043 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.58e-05/0.474, allocations: 2.844 kB / 0.6043 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.4741, allocations: 10.38 kB / 0.6043 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.4741, allocations: 0 / 0.6043 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.003346/0.4774, allocations: 1.098 MB / 0.6054 GB, free: 40.46 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: